]> The Tcpdump Group git mirrors - libpcap/blobdiff - pcap.c
Rename a routine to match find_or_add_if().
[libpcap] / pcap.c
diff --git a/pcap.c b/pcap.c
index 880659943e935139d7474aca27317560b5b3ea5f..07812dc099cffa33708f9fc664eb174e5ed5e11c 100644 (file)
--- a/pcap.c
+++ b/pcap.c
@@ -715,7 +715,7 @@ find_or_add_if(pcap_if_list_t *devlistp, const char *name,
  * add interfaces even if they have no addresses.)
  */
 int
-add_addr_to_iflist(pcap_if_list_t *devlistp, const char *name,
+add_addr_to_if(pcap_if_list_t *devlistp, const char *name,
     bpf_u_int32 if_flags,
     struct sockaddr *addr, size_t addr_size,
     struct sockaddr *netmask, size_t netmask_size,