aboutsummaryrefslogtreecommitdiff
path: root/networking
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2005-05-03 22:30:08 +0000
committerRob Landley <rob@landley.net>2005-05-03 22:30:08 +0000
commit0d38301d851f29e1f64db1c0759c7fb97c59347e (patch)
tree37e74599154c1bfe7e62a973e9587c24dfa860c4 /networking
parent93983040c51ccbb2a19fc53f50498148edf98f65 (diff)
downloadbusybox-w32-0d38301d851f29e1f64db1c0759c7fb97c59347e.tar.gz
busybox-w32-0d38301d851f29e1f64db1c0759c7fb97c59347e.tar.bz2
busybox-w32-0d38301d851f29e1f64db1c0759c7fb97c59347e.zip
From: Shaun Jackman <sjackman@gmail.com>
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.
Diffstat (limited to 'networking')
-rw-r--r--networking/ifconfig.c6
1 files changed, 3 insertions, 3 deletions
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 @@
46#include <netpacket/packet.h> 46#include <netpacket/packet.h>
47#include <net/ethernet.h> 47#include <net/ethernet.h>
48#else 48#else
49#include <asm/types.h> 49#include <sys/types.h>
50#include <linux/if_ether.h> 50#include <netinet/if_ether.h>
51#endif 51#endif
52#include "inet_common.h" 52#include "inet_common.h"
53#include "busybox.h" 53#include "busybox.h"
@@ -177,7 +177,7 @@ struct in6_ifreq {
177 177
178struct arg1opt { 178struct arg1opt {
179 const char *name; 179 const char *name;
180 unsigned short selector; 180 int selector;
181 unsigned short ifr_offset; 181 unsigned short ifr_offset;
182}; 182};
183 183