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-Url: http://drtracing.org/?a=commitdiff_plain;h=10a03a42d140a029bcba531df2897839f3569871;p=deliverable%2Flinux.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 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 -#include +#include struct netns_xt { - struct list_head tables[NPROTO]; + struct list_head tables[NFPROTO_NUMPROTO]; }; #endif