mirror of
https://github.com/nmap/nmap.git
synced 2026-08-27 03:48:14 +00:00
Fix a bug in the last commit: need another level of indirection on packet pointer.
This commit is contained in:
parent
5008078dac
commit
cdcc9da0d8
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue