aboutsummaryrefslogtreecommitdiffstats
path: root/net/bridge/netfilter/ebt_limit.c
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@medozas.de>2008-10-08 11:35:14 +0200
committerPatrick McHardy <kaber@trash.net>2008-10-08 11:35:14 +0200
commit001a18d369f4813ed792629ff4a9a6ade2a4a031 (patch)
treea1207edd62e371eb8473cac524fd1e34a7b1cc62 /net/bridge/netfilter/ebt_limit.c
parentnetfilter: Change return types of targets/watchers for Ebtables extensions (diff)
downloadlinux-dev-001a18d369f4813ed792629ff4a9a6ade2a4a031.tar.xz
linux-dev-001a18d369f4813ed792629ff4a9a6ade2a4a031.zip
netfilter: add dummy members to Ebtables code to ease transition to Xtables
Signed-off-by: Jan Engelhardt <jengelh@medozas.de> Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'net/bridge/netfilter/ebt_limit.c')
-rw-r--r--net/bridge/netfilter/ebt_limit.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/bridge/netfilter/ebt_limit.c b/net/bridge/netfilter/ebt_limit.c
index 925065a22a65..9ca0a2564c8d 100644
--- a/net/bridge/netfilter/ebt_limit.c
+++ b/net/bridge/netfilter/ebt_limit.c
@@ -88,6 +88,8 @@ static bool ebt_limit_check(const char *tablename, unsigned int hookmask,
static struct ebt_match ebt_limit_reg __read_mostly = {
.name = EBT_LIMIT_MATCH,
+ .revision = 0,
+ .family = NFPROTO_BRIDGE,
.match = ebt_limit_match,
.check = ebt_limit_check,
.matchsize = XT_ALIGN(sizeof(struct ebt_limit_info)),