aboutsummaryrefslogtreecommitdiff
path: root/toys/other/ifconfig.c
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2014-02-16 11:09:23 -0600
committerRob Landley <rob@landley.net>2014-02-16 11:09:23 -0600
commit1fb3ae7075ab9d198b757f7da5cc9c748abc3574 (patch)
tree883cbdd98ecc483f6a5a948b1709e878de5bbdca /toys/other/ifconfig.c
parent33b022d873abc5255e22bf70687e5c0a260fb107 (diff)
downloadtoybox-1fb3ae7075ab9d198b757f7da5cc9c748abc3574.tar.gz
Various cleanups found by Tom Sparrow's static analysis.
Diffstat (limited to 'toys/other/ifconfig.c')
-rw-r--r--toys/other/ifconfig.c7
1 files changed, 0 insertions, 7 deletions
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)