diff options
author | Patrick McHardy <kaber@trash.net> | 2008-10-20 10:31:54 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-10-20 10:31:54 (GMT) |
commit | 10a03a42d140a029bcba531df2897839f3569871 (patch) | |
tree | c404d9e491379e21e9930375c3197746ee5bf1de /include/net | |
parent | 041fb574c75a570a0796acd3ed83e4ce0ea920f4 (diff) | |
download | linux-fsl-qoriq-10a03a42d140a029bcba531df2897839f3569871.tar.xz |
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 0cb63ed..b809397 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 |