]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - net/decnet/dn_rules.c
net: use the macros defined for the members of flowi
[net-next-2.6.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);