aboutsummaryrefslogtreecommitdiffstats
path: root/capture-wpcap.c
diff options
context:
space:
mode:
authorgerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>2010-05-11 21:09:21 +0000
committergerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>2010-05-11 21:09:21 +0000
commita9d2a5ea59bef8a8ba1159b0b9767adab49a9974 (patch)
tree9c254234093b7c18e3cdf174a76b130073213913 /capture-wpcap.c
parent924f04dcd62bc1ab5f826d48fd055dbdf2a75956 (diff)
Make sure pcap_open_live points to something.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32763 f5534014-38df-0310-8fa8-9805f1628bb7
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