Message ID | 1445741433-20203-1-git-send-email-subramanian.vijay@gmail.com |
---|---|
State | Accepted |
Delegated to: | Pablo Neira |
Headers | show |
On Sat, Oct 24, 2015 at 07:50:33PM -0700, Vijay Subramanian wrote: > When we lookup the family, return "netdev" for NFPROTO_NETDEV instead of > "unknown". Applied. -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/src/utils.c b/src/utils.c index c241e5f..84fbe94 100644 --- a/src/utils.c +++ b/src/utils.c @@ -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", };
When we lookup the family, return "netdev" for NFPROTO_NETDEV instead of "unknown". Signed-off-by: Vijay Subramanian <subramanian.vijay@gmail.com> --- src/utils.c | 1 + 1 file changed, 1 insertion(+)