1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-18 13:39:02 +00:00

Fixed HAVE_PCAP=0 case.

This commit is contained in:
henri
2012-01-13 12:56:20 +00:00
parent 487c08ff63
commit 520ff94839
2 changed files with 6 additions and 5 deletions

View File

@@ -113,11 +113,10 @@ nsock_iod nsi_new2(nsock_pool nsockp, int sd, void *userdata) {
nsi->first_write = NULL;
#if HAVE_PCAP
nsi->first_pcap_read = NULL;
nsi->readpcapsd_count = 0;
#endif
nsi->readsd_count = 0;
nsi->write_count = 0;
nsi->readpcapsd_count = 0;
nsi->userdata = userdata;
nsi->nsp = (mspool *)nsockp;