diff options
author | stig <stig@f5534014-38df-0310-8fa8-9805f1628bb7> | 2008-11-03 20:04:01 +0000 |
---|---|---|
committer | stig <stig@f5534014-38df-0310-8fa8-9805f1628bb7> | 2008-11-03 20:04:01 +0000 |
commit | 1488ce8e02648144fb8facc5939757aea75021b7 (patch) | |
tree | ac45abc2cf294565955ca34d2af1eda9d05fbebc /capture-pcap-util-int.h | |
parent | 7944bfe10d38532deca7f4a133e942c183a1fa46 (diff) |
Do not use functions for remote capture on local interfaces.
This makes it possible to compile with remote capture features on unix.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@26681 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'capture-pcap-util-int.h')
-rw-r--r-- | capture-pcap-util-int.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/capture-pcap-util-int.h b/capture-pcap-util-int.h index ccdd54dfdb..80a60764e7 100644 --- a/capture-pcap-util-int.h +++ b/capture-pcap-util-int.h @@ -29,9 +29,9 @@ #ifdef HAVE_PCAP_REMOTE #ifdef HAVE_CONFIG_H #include <config.h> -#endif +#endif /* HAVE_CONFIG_H */ #include <pcap.h> -#endif +#endif /* HAVE_PCAP_REMOTE */ extern if_info_t *if_info_new(char *name, char *description); extern void if_info_add_address(if_info_t *if_info, struct sockaddr *addr); @@ -39,10 +39,9 @@ extern void if_info_add_address(if_info_t *if_info, struct sockaddr *addr); #ifdef HAVE_PCAP_REMOTE extern GList *get_interface_list_findalldevs_ex(const char *source, struct pcap_rmtauth *auth, int *err, char **err_str); -#else +#endif /* HAVE_PCAP_REMOTE */ extern GList *get_interface_list_findalldevs(int *err, char **err_str); -#endif -#endif +#endif /* HAVE_PCAP_FINDALLDEVS */ /* * Get an error message string for a CANT_GET_INTERFACE_LIST error from |