Skip to content

Commit

Permalink
netfilter: netns: use NFPROTO_NUMPROTO instead of NUMPROTO for tables…
Browse files Browse the repository at this point in the history
… 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>
  • Loading branch information
Patrick McHardy authored and David S. Miller committed Oct 20, 2008
1 parent 041fb57 commit 10a03a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/net/netns/x_tables.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 10a03a4

Please sign in to comment.