]> The Tcpdump Group git mirrors - libpcap/commitdiff
Fix a typo.
authorguy <guy>
Thu, 17 Apr 2008 19:10:04 +0000 (19:10 +0000)
committerguy <guy>
Thu, 17 Apr 2008 19:10:04 +0000 (19:10 +0000)
inet.c

diff --git a/inet.c b/inet.c
index 8adf18d11c9a86fdfa25ded9dc6cd616af4902d1..5d353d9258e1e214ac1191f6c4e845253d161e9b 100644 (file)
--- a/inet.c
+++ b/inet.c
@@ -34,7 +34,7 @@
 
 #ifndef lint
 static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/libpcap/inet.c,v 1.75.2.1 2008-04-17 18:58:03 guy Exp $ (LBL)";
+    "@(#) $Header: /tcpdump/master/libpcap/inet.c,v 1.75.2.2 2008-04-17 19:10:04 guy Exp $ (LBL)";
 #endif
 
 #ifdef HAVE_CONFIG_H
@@ -392,7 +392,7 @@ add_addr_to_iflist(pcap_if_t **alldevs, const char *name, u_int flags,
         */
        memset(&ifrdesc, 0, sizeof ifrdesc);
        strlcpy(ifrdesc.ifr_name, name, sizeof ifrdesc.ifr_name);
-       ifrdesc.ifr_data = (caddr_t)&ifrdesc;
+       ifrdesc.ifr_data = (caddr_t)&ifdescr;
        s = socket(AF_INET, SOCK_DGRAM, 0);
        if (s >= 0) {
                if (ioctl(s, SIOCGIFDESCR, &ifrdesc) == 0 &&