]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - net/ipv4/fib_rules.c
net: fib_rules: decouple address families from real address families
[karo-tx-linux.git] / net / ipv4 / fib_rules.c
index a18355e1511105804f800a59b5f4c3b5eac77abc..3ec84fea5b71bbc85891b55ba8c30a38472a075c 100644 (file)
@@ -246,7 +246,7 @@ static void fib4_rule_flush_cache(struct fib_rules_ops *ops)
 }
 
 static struct fib_rules_ops fib4_rules_ops_template = {
-       .family         = AF_INET,
+       .family         = FIB_RULES_IPV4,
        .rule_size      = sizeof(struct fib4_rule),
        .addr_size      = sizeof(u32),
        .action         = fib4_rule_action,