Skip to contentSkip to conversation

Add support to print netdev family

PATCH Applied Vijay Subramanian 2 participants 2 messages Oct 25, 2015 – Nov 6, 2015 netfilter

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Add support to print netdev family

When we lookup the family, return "netdev" for NFPROTO_NETDEV instead of "unknown".

---
 src/utils.c |    1 +
 1 file changed, 1 insertion(+)
src/utils.c +1 -0
index c241e5f..84fbe94 100644
@@ -26,6 +26,7 @@ static const char *const nftnl_family_str[NFPROTO_NUMPROTO] = {
 	[NFPROTO_INET]		= "inet",
 	[NFPROTO_IPV4]		= "ip",
 	[NFPROTO_ARP]		= "arp",
+	[NFPROTO_NETDEV]	= "netdev",
 	[NFPROTO_BRIDGE]	= "bridge",
 	[NFPROTO_IPV6]		= "ip6",
 };
Signature · 1 line
1.7.9.5
maintainer Applied
#1 lore raw
Quoted 2 lines · Vijay Subramanian

When we lookup the family, return "netdev" for NFPROTO_NETDEV instead of "unknown".

Applied.