diff options
author | Guy Harris <guy@alum.mit.edu> | 2017-09-06 20:19:41 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2017-09-06 20:19:41 -0700 |
commit | 1255a79e6522f36ccb61c62d09000c7121d88682 (patch) | |
tree | 68b856b2873cc7efb1e8545965efbb4a865da2e0 /pcap-new.c | |
parent | 2eb2c22edf6f95c7650f50ac18a4519065cf607f (diff) |
Fix Windows build errors.
Diffstat (limited to 'pcap-new.c')
-rw-r--r-- | pcap-new.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -393,7 +393,7 @@ pcap_t *pcap_open(const char *source, int snaplen, int flags, int read_timeout, */ /* disable loopback capture if requested */ if (flags & PCAP_OPENFLAG_NOCAPTURE_LOCAL) - p->opt.nocapture_local = 1; + fp->opt.nocapture_local = 1; #endif /* _WIN32 */ status = pcap_set_timeout(fp, read_timeout); if (status < 0) |