aboutsummaryrefslogtreecommitdiffstats
path: root/capture-wpcap.c
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2010-05-11 21:09:21 +0000
committerGerald Combs <gerald@wireshark.org>2010-05-11 21:09:21 +0000
commit7ee55e62eefa7b49f974194ab74597e9762081e7 (patch)
tree9c254234093b7c18e3cdf174a76b130073213913 /capture-wpcap.c
parent58843eaf03d9e2b3ac5bd81a9753aa6009bb96d6 (diff)
Make sure pcap_open_live points to something.
svn path=/trunk/; revision=32763
Diffstat (limited to 'capture-wpcap.c')
-rw-r--r--capture-wpcap.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/capture-wpcap.c b/capture-wpcap.c
index 7ffb80c783..dbdbc9047f 100644
--- a/capture-wpcap.c
+++ b/capture-wpcap.c
@@ -137,9 +137,8 @@ load_wpcap(void)
SYM(pcap_open, FALSE),
SYM(pcap_findalldevs_ex, FALSE),
SYM(pcap_createsrcstr, FALSE),
-#else
- SYM(pcap_open_live, FALSE),
#endif
+ SYM(pcap_open_live, FALSE),
#ifdef HAVE_PCAP_SETSAMPLING
SYM(pcap_setsampling, TRUE),
#endif