Skip to content

Commit

Permalink
[NETFILTER]: Use __u32 in struct nf_inet_addr
Browse files Browse the repository at this point in the history
As reported by David Woodhouse <dwmw2@infradead.org>, using u_int32_t
in struct nf_inet_addr breaks the busybox build. Fix by using __u32.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Patrick McHardy authored and David S. Miller committed Feb 20, 2008
1 parent 27ecb1f commit 7b33ed2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/linux/netfilter.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ enum nf_inet_hooks {
};

union nf_inet_addr {
u_int32_t all[4];
__u32 all[4];
__be32 ip;
__be32 ip6[4];
struct in_addr in;
Expand Down

0 comments on commit 7b33ed2

Please sign in to comment.