summaryrefslogtreecommitdiff
path: root/capture-pcap-util.c
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2008-07-04 12:52:16 +0000
committerBill Meier <wmeier@newsguy.com>2008-07-04 12:52:16 +0000
commite1a5e58ac1db793a3aee17b7775523a5005e5ce5 (patch)
tree656445349a8240d6a80aa5ab5043594e51ea0484 /capture-pcap-util.c
parente82d99d2b4b86a22f37dd19481fdcbe8ca7635a8 (diff)
downloadwireshark-e1a5e58ac1db793a3aee17b7775523a5005e5ce5.tar.gz
Fix benign usage of incorrect symbol in #ifdef
svn path=/trunk/; revision=25669
Diffstat (limited to 'capture-pcap-util.c')
-rw-r--r--capture-pcap-util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/capture-pcap-util.c b/capture-pcap-util.c
index 0d7024af5f..54c572609a 100644
--- a/capture-pcap-util.c
+++ b/capture-pcap-util.c
@@ -372,7 +372,7 @@ get_pcap_linktype_list(const char *devname, char **err_str)
pcap_t *pch;
int deflt;
char errbuf[PCAP_ERRBUF_SIZE];
-#ifdef HAVE_PCAP_SET_DATALINK
+#ifdef HAVE_PCAP_LIST_DATALINKS
int *linktypes;
int i, nlt;
#endif