From: Patrick McHardy Date: Mon, 20 Oct 2008 10:31:54 +0000 (-0700) Subject: netfilter: netns: use NFPROTO_NUMPROTO instead of NUMPROTO for tables array X-Git-Tag: v2.6.28-rc1~104^2~5 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=10a03a42d140a029bcba531df2897839f3569871;p=linux-2.6-omap-h63xx.git 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 Signed-off-by: David S. Miller --- diff --git a/include/net/netns/x_tables.h b/include/net/netns/x_tables.h index 0cb63ed2c1f..b8093971ccb 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 -#include +#include struct netns_xt { - struct list_head tables[NPROTO]; + struct list_head tables[NFPROTO_NUMPROTO]; }; #endif