diff options
Diffstat (limited to 'net/decnet')
-rw-r--r-- | net/decnet/dn_rules.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/decnet/dn_rules.c b/net/decnet/dn_rules.c index c8d9411e5943..977bb56c3ce4 100644 --- a/net/decnet/dn_rules.c +++ b/net/decnet/dn_rules.c | |||
@@ -197,10 +197,10 @@ static int dn_fib_rule_compare(struct fib_rule *rule, struct fib_rule_hdr *frh, | |||
197 | return 0; | 197 | return 0; |
198 | #endif | 198 | #endif |
199 | 199 | ||
200 | if (tb[FRA_SRC] && (r->src != nla_get_u32(tb[FRA_SRC]))) | 200 | if (tb[FRA_SRC] && (r->src != nla_get_u16(tb[FRA_SRC]))) |
201 | return 0; | 201 | return 0; |
202 | 202 | ||
203 | if (tb[FRA_DST] && (r->dst != nla_get_u32(tb[FRA_DST]))) | 203 | if (tb[FRA_DST] && (r->dst != nla_get_u16(tb[FRA_DST]))) |
204 | return 0; | 204 | return 0; |
205 | 205 | ||
206 | return 1; | 206 | return 1; |