]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
netfilter: netns: use NFPROTO_NUMPROTO instead of NUMPROTO for tables array
authorPatrick McHardy <kaber@trash.net>
Mon, 20 Oct 2008 10:31:54 +0000 (03:31 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 20 Oct 2008 10:31:54 +0000 (03:31 -0700)
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>
include/net/netns/x_tables.h

index 0cb63ed2c1fc268843af16f911db33e571e24b38..b8093971ccb476e5288037a8c653cb06a8addf49 100644 (file)
@@ -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