Skip to contentSkip to conversation

uapi: netfilter_arp: use __u8 instead of u_int8_t

PATCH Applied Mike Frysinger 2 participants 2 messages Aug 4, 2014 – Aug 24, 2014 netfilter

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 uapi: netfilter_arp: use __u8 instead of u_int8_t

Similarly, the u_int8_t type is non-standard and not defined. Change it to use __u8 like the rest of the netfilter headers.

---
 include/uapi/linux/netfilter_arp/arpt_mangle.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/uapi/linux/netfilter_arp/arpt_mangle.h +1 -1
index 250f502..8c2b16a 100644
@@ -13,7 +13,7 @@ struct arpt_mangle
 	union {
 		struct in_addr tgt_ip;
 	} u_t;
-	u_int8_t flags;
+	__u8 flags;
 	int target;
 };
 
Signature · 1 line
2.0.0
maintainer Applied
#1 lore raw
Quoted 2 lines · Mike Frysinger

Similarly, the u_int8_t type is non-standard and not defined. Change it to use __u8 like the rest of the netfilter headers.

Applied, thanks.