summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2008-10-20 12:31:54 +0200
committerDavid S. Miller <davem@davemloft.net>2008-10-20 12:31:54 +0200
commit10a03a42d140a029bcba531df2897839f3569871 (patch)
treec404d9e491379e21e9930375c3197746ee5bf1de
parentnetfilter: ctnetlink: remove obsolete NAT dependency from Kconfig (diff)
downloadlinux-10a03a42d140a029bcba531df2897839f3569871.tar.xz
linux-10a03a42d140a029bcba531df2897839f3569871.zip
netfilter: netns: use NFPROTO_NUMPROTO instead of NUMPROTO for tables array
The netfilter families have been decoupled from regular protocol families. Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--include/net/netns/x_tables.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/net/netns/x_tables.h b/include/net/netns/x_tables.h
index 0cb63ed2c1fc..b8093971ccb4 100644
--- a/include/net/netns/x_tables.h
+++ b/include/net/netns/x_tables.h
@@ -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