From 1fb3ae7075ab9d198b757f7da5cc9c748abc3574 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Sun, 16 Feb 2014 11:09:23 -0600 Subject: Various cleanups found by Tom Sparrow's static analysis. --- toys/other/ifconfig.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'toys/other/ifconfig.c') diff --git a/toys/other/ifconfig.c b/toys/other/ifconfig.c index 15d00d06..36529c95 100644 --- a/toys/other/ifconfig.c +++ b/toys/other/ifconfig.c @@ -56,13 +56,6 @@ GLOBALS( int sockfd; ) -//for ipv6 add/del -struct ifreq_inet6 { - struct in6_addr ifrinte6_addr; - uint32_t ifrinet6_prefixlen; - int ifrinet6_ifindex; -}; - // Convert hostname to binary address for AF_INET or AF_INET6 // return /prefix (or range max if none) int get_addrinfo(char *host, sa_family_t af, void *addr) -- cgit v1.2.3