mirror of
https://github.com/nmap/nmap.git
synced 2025-12-06 04:31:29 +00:00
Remove an unnecessary else.
This commit is contained in:
@@ -432,9 +432,8 @@ void FPNetworkControl::probe_transmission_handler(nsock_pool nsp, nsock_event ns
|
||||
assert(myprobe->host != NULL);
|
||||
if (send_ip_packet(this->rawsd, myprobe->getEthernet(), myprobe->host->getTargetAddress(), buf, len) == -1) {
|
||||
pfatal("Unable to send packet in %s", __func__);
|
||||
} else {
|
||||
myprobe->setTimeSent();
|
||||
}
|
||||
myprobe->setTimeSent();
|
||||
free(buf);
|
||||
break;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user