From 0d38301d851f29e1f64db1c0759c7fb97c59347e Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Tue, 3 May 2005 22:30:08 +0000 Subject: From: Shaun Jackman To: busybox@mail.codepoet.org Wrap sockaddr_in6 in a ifdef CONFIG_FEATURE_IPV6. Include sys/types.h instead of asm/types.h. Include netinet/if_ether.h instead of linux/if_ether.h The ioctl request argument is an int, not an unsigned short. --- networking/ifconfig.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'networking') diff --git a/networking/ifconfig.c b/networking/ifconfig.c index 4e3df2982..fc7798f2d 100644 --- a/networking/ifconfig.c +++ b/networking/ifconfig.c @@ -46,8 +46,8 @@ #include #include #else -#include -#include +#include +#include #endif #include "inet_common.h" #include "busybox.h" @@ -177,7 +177,7 @@ struct in6_ifreq { struct arg1opt { const char *name; - unsigned short selector; + int selector; unsigned short ifr_offset; }; -- cgit v1.2.3