]> The Tcpdump Group git mirrors - libpcap/blobdiff - nametoaddr.c
pcap_create_interface() needs the interface name on Linux.
[libpcap] / nametoaddr.c
index bcff10383d3c1acf2de54a48d58fd087a4c033f9..71280b31c48d73cd46af38c7aee240e10ef60ad0 100644 (file)
@@ -535,7 +535,6 @@ __pcap_nametodnaddr(const char *name, u_short *res)
 #ifdef DECNETLIB
        struct nodeent *getnodebyname();
        struct nodeent *nep;
-       unsigned short res;
 
        nep = getnodebyname(name);
        if (nep == ((struct nodeent *)0))