summaryrefslogtreecommitdiff
path: root/pcap-int.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2017-01-20 19:55:38 -0800
committerGuy Harris <guy@alum.mit.edu>2017-01-20 19:55:38 -0800
commitb7586455b7be0ee1746d3fc9f4b4f8b7ee911d00 (patch)
treed916fdffbc9c6de08df4b61bce98db39c7f37eed /pcap-int.h
parentf8198434d6d0b1016ee597a7c64723b1b1c48333 (diff)
downloadlibpcap-b7586455b7be0ee1746d3fc9f4b4f8b7ee911d00.tar.gz
Rename a routine to match find_or_add_if().
Rename add_addr_to_iflist() to add_addr_to_if().
Diffstat (limited to 'pcap-int.h')
-rw-r--r--pcap-int.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/pcap-int.h b/pcap-int.h
index acedd791..c4791aee 100644
--- a/pcap-int.h
+++ b/pcap-int.h
@@ -437,7 +437,7 @@ int add_addr_to_dev(pcap_if_t *, struct sockaddr *, size_t,
#ifndef _WIN32
pcap_if_t *find_or_add_if(pcap_if_list_t *, const char *, bpf_u_int32,
char *);
-int add_addr_to_iflist(pcap_if_list_t *, const char *, bpf_u_int32,
+int add_addr_to_if(pcap_if_list_t *, const char *, bpf_u_int32,
struct sockaddr *, size_t, struct sockaddr *, size_t,
struct sockaddr *, size_t, struct sockaddr *, size_t, char *);
#endif