Fix benign usage of incorrect symbol in #ifdef

svn path=/trunk/; revision=25669
This commit is contained in:
Bill Meier 2008-07-04 12:52:16 +00:00
parent e82d99d2b4
commit e1a5e58ac1
1 changed files with 1 additions and 1 deletions

View File

@ -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