Skip to content

Commit

Permalink
uapi: netfilter_arp: use __u8 instead of u_int8_t
Browse files Browse the repository at this point in the history
Similarly, the u_int8_t type is non-standard and not defined.  Change
it to use __u8 like the rest of the netfilter headers.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
  • Loading branch information
Mike Frysinger authored and Pablo Neira Ayuso committed Aug 20, 2014
1 parent c9d2642 commit e91ded8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/uapi/linux/netfilter_arp/arpt_mangle.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ struct arpt_mangle
union {
struct in_addr tgt_ip;
} u_t;
u_int8_t flags;
__u8 flags;
int target;
};

Expand Down

0 comments on commit e91ded8

Please sign in to comment.