diff options
author | Guy Harris <guy@alum.mit.edu> | 2004-07-18 02:34:45 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2004-07-18 02:34:45 +0000 |
commit | c7cbe51e76656d6f3278ec6514c6a168232b7933 (patch) | |
tree | 8543e3b248e90fd2174e0abb38767900a02d0093 /pcap-util-int.h | |
parent | 860750fb903d286bb037848f9da0127df9d46007 (diff) | |
download | wireshark-c7cbe51e76656d6f3278ec6514c6a168232b7933.tar.gz wireshark-c7cbe51e76656d6f3278ec6514c6a168232b7933.tar.bz2 wireshark-c7cbe51e76656d6f3278ec6514c6a168232b7933.zip |
Get IPv4 addresses and the loopback flag if we don't have
"pcap_findalldevs()".
"if_info_ip()" is used - and can be compiled - only if libpcap has
"pcap_findalldevs()".
svn path=/trunk/; revision=11402
Diffstat (limited to 'pcap-util-int.h')
-rw-r--r-- | pcap-util-int.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pcap-util-int.h b/pcap-util-int.h index 5a653f3612..008c22b24b 100644 --- a/pcap-util-int.h +++ b/pcap-util-int.h @@ -28,6 +28,7 @@ #ifdef HAVE_LIBPCAP 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); #ifdef HAVE_PCAP_FINDALLDEVS extern GList *get_interface_list_findalldevs(int *err, char *err_str); #endif |