mirror of
https://github.com/nmap/nmap.git
synced 2025-12-23 07:59:03 +00:00
Upgrade libpcap to 1.8.1 (Nmap-specific patches not yet applied)
This commit is contained in:
@@ -51,7 +51,10 @@ bpf_dump(const struct bpf_program *p, int option)
|
||||
for (i = 0; i < n; ++insn, ++i) {
|
||||
#ifdef BDEBUG
|
||||
extern int bids[];
|
||||
printf(bids[i] > 0 ? "[%02d]" : " -- ", bids[i] - 1);
|
||||
if (bids[i] > 0)
|
||||
printf("[%02d]", bids[i] - 1);
|
||||
else
|
||||
printf(" -- ");
|
||||
#endif
|
||||
puts(bpf_image(insn, i));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user