netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH libnftnl] Add support to print netdev family
@ 2015-10-25  2:50 Vijay Subramanian
  2015-11-06 13:48 ` Pablo Neira Ayuso
  0 siblings, 1 reply; 2+ messages in thread
From: Vijay Subramanian @ 2015-10-25  2:50 UTC (permalink / raw)
  To: netfilter-devel; +Cc: pablo, Vijay Subramanian

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(+)

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",
 };
-- 
1.7.9.5


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH libnftnl] Add support to print netdev family
  2015-10-25  2:50 [PATCH libnftnl] Add support to print netdev family Vijay Subramanian
@ 2015-11-06 13:48 ` Pablo Neira Ayuso
  0 siblings, 0 replies; 2+ messages in thread
From: Pablo Neira Ayuso @ 2015-11-06 13:48 UTC (permalink / raw)
  To: Vijay Subramanian; +Cc: netfilter-devel

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.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-11-06 13:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-25  2:50 [PATCH libnftnl] Add support to print netdev family Vijay Subramanian
2015-11-06 13:48 ` Pablo Neira Ayuso

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).