summaryrefslogtreecommitdiffstats
path: root/net/bridge/netfilter/ebt_stp.c
diff options
context:
space:
mode:
authorJan Engelhardt2008-10-08 11:35:14 +0200
committerPatrick McHardy2008-10-08 11:35:14 +0200
commit001a18d369f4813ed792629ff4a9a6ade2a4a031 (patch)
treea1207edd62e371eb8473cac524fd1e34a7b1cc62 /net/bridge/netfilter/ebt_stp.c
parentnetfilter: Change return types of targets/watchers for Ebtables extensions (diff)
downloadkernel-qcow2-linux-001a18d369f4813ed792629ff4a9a6ade2a4a031.tar.gz
kernel-qcow2-linux-001a18d369f4813ed792629ff4a9a6ade2a4a031.tar.xz
kernel-qcow2-linux-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_stp.c')
-rw-r--r--net/bridge/netfilter/ebt_stp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/bridge/netfilter/ebt_stp.c b/net/bridge/netfilter/ebt_stp.c
index 7618206639ed..e6d8f0c140a4 100644
--- a/net/bridge/netfilter/ebt_stp.c
+++ b/net/bridge/netfilter/ebt_stp.c
@@ -174,6 +174,8 @@ static bool ebt_stp_check(const char *tablename, unsigned int hookmask,
static struct ebt_match filter_stp __read_mostly = {
.name = EBT_STP_MATCH,
+ .revision = 0,
+ .family = NFPROTO_BRIDGE,
.match = ebt_filter_stp,
.check = ebt_stp_check,
.matchsize = XT_ALIGN(sizeof(struct ebt_stp_info)),