]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - net/bridge/netfilter/ebt_snat.c
netfilter: add dummy members to Ebtables code to ease transition to Xtables
[karo-tx-linux.git] / net / bridge / netfilter / ebt_snat.c
index d13f05d2620efe4b3bee01c69268f9f24ea2f16b..0e83de781c0c0a1e5fcf71b1844d6ea61b1c465a 100644 (file)
@@ -68,6 +68,8 @@ static bool ebt_target_snat_check(const char *tablename, unsigned int hookmask,
 
 static struct ebt_target snat __read_mostly = {
        .name           = EBT_SNAT_TARGET,
+       .revision       = 0,
+       .family         = NFPROTO_BRIDGE,
        .target         = ebt_target_snat,
        .check          = ebt_target_snat_check,
        .targetsize     = XT_ALIGN(sizeof(struct ebt_nat_info)),