net: use the macros defined for the members of flowi
[deliverable/linux.git] / net / decnet / dn_rules.c
index 48fdf10be7a1634a78114cd3a4e7d05b0902f585..6eb91df3c5504f218cfb84a525845724ddd06e3f 100644 (file)
@@ -175,7 +175,7 @@ static int dn_fib_rule_compare(struct fib_rule *rule, struct fib_rule_hdr *frh,
 
 unsigned dnet_addr_type(__le16 addr)
 {
-       struct flowi fl = { .nl_u = { .dn_u = { .daddr = addr } } };
+       struct flowi fl = { .fld_dst = addr };
        struct dn_fib_res res;
        unsigned ret = RTN_UNICAST;
        struct dn_fib_table *tb = dn_fib_get_table(RT_TABLE_LOCAL, 0);
This page took 0.025022 seconds and 5 git commands to generate.