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.
This commit is contained in:
@@ -46,8 +46,8 @@
|
||||
#include <netpacket/packet.h>
|
||||
#include <net/ethernet.h>
|
||||
#else
|
||||
#include <asm/types.h>
|
||||
#include <linux/if_ether.h>
|
||||
#include <sys/types.h>
|
||||
#include <netinet/if_ether.h>
|
||||
#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;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user