diff options
author | Patrick McHardy <kaber@trash.net> | 2008-10-20 12:31:54 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-10-20 12:31:54 +0200 |
commit | 10a03a42d140a029bcba531df2897839f3569871 (patch) | |
tree | c404d9e491379e21e9930375c3197746ee5bf1de /include/net | |
parent | netfilter: ctnetlink: remove obsolete NAT dependency from Kconfig (diff) | |
download | linux-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>
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/netns/x_tables.h | 4 |
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 |