diff options
Diffstat (limited to 'net/ipv6/fib6_rules.c')
-rw-r--r-- | net/ipv6/fib6_rules.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/fib6_rules.c b/net/ipv6/fib6_rules.c index 2c4fbc855e6c..7b4908cc52b3 100644 --- a/net/ipv6/fib6_rules.c +++ b/net/ipv6/fib6_rules.c | |||
@@ -117,7 +117,7 @@ static int fib6_rule_match(struct fib_rule *rule, struct flowi *fl, int flags) | |||
117 | if (!ipv6_prefix_equal(&fl->fl6_dst, &r->dst.addr, r->dst.plen)) | 117 | if (!ipv6_prefix_equal(&fl->fl6_dst, &r->dst.addr, r->dst.plen)) |
118 | return 0; | 118 | return 0; |
119 | 119 | ||
120 | if ((flags & RT6_F_HAS_SADDR) && | 120 | if ((flags & RT6_LOOKUP_F_HAS_SADDR) && |
121 | !ipv6_prefix_equal(&fl->fl6_src, &r->src.addr, r->src.plen)) | 121 | !ipv6_prefix_equal(&fl->fl6_src, &r->src.addr, r->src.plen)) |
122 | return 0; | 122 | return 0; |
123 | 123 | ||