mirror of
https://github.com/nmap/nmap.git
synced 2025-12-07 13:11:28 +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);
|
assert(myprobe->host != NULL);
|
||||||
if (send_ip_packet(this->rawsd, myprobe->getEthernet(), myprobe->host->getTargetAddress(), buf, len) == -1) {
|
if (send_ip_packet(this->rawsd, myprobe->getEthernet(), myprobe->host->getTargetAddress(), buf, len) == -1) {
|
||||||
pfatal("Unable to send packet in %s", __func__);
|
pfatal("Unable to send packet in %s", __func__);
|
||||||
} else {
|
|
||||||
myprobe->setTimeSent();
|
|
||||||
}
|
}
|
||||||
|
myprobe->setTimeSent();
|
||||||
free(buf);
|
free(buf);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user