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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user