提交 10a03a42 编写于 作者: P Patrick McHardy 提交者: David S. Miller

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

The netfilter families have been decoupled from regular protocol families.
Signed-off-by: NPatrick McHardy <kaber@trash.net>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 041fb574
......@@ -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
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册