mirror of
https://github.com/nmap/nmap.git
synced 2025-12-17 13:09:02 +00:00
Fix a bug in the last commit: need another level of indirection on packet pointer.
This commit is contained in:
@@ -4016,7 +4016,7 @@ static int read_reply_pcap(pcap_t *pd, long to_usec,
|
|||||||
assert(rc == 0);
|
assert(rc == 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (p == NULL) {
|
if (*p == NULL) {
|
||||||
/* Nonblocking pcap_next didn't get anything. */
|
/* Nonblocking pcap_next didn't get anything. */
|
||||||
if (pcap_select(pd, to_usec) == 0)
|
if (pcap_select(pd, to_usec) == 0)
|
||||||
timedout = 1;
|
timedout = 1;
|
||||||
|
|||||||
Reference in New Issue
Block a user