Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 10a03a42 authored by Patrick McHardy's avatar Patrick McHardy Committed by David S. Miller
Browse files

netfilter: netns: use NFPROTO_NUMPROTO instead of NUMPROTO for tables array



The netfilter families have been decoupled from regular protocol families.

Signed-off-by: default avatarPatrick McHardy <kaber@trash.net>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 041fb574
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -2,9 +2,9 @@
#define __NETNS_X_TABLES_H

#include <linux/list.h>
#include <linux/net.h>
#include <linux/netfilter.h>

struct netns_xt {
	struct list_head tables[NPROTO];
	struct list_head tables[NFPROTO_NUMPROTO];
};
#endif