]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - net/ipv6/ip6mr.c
net: use the macros defined for the members of flowi
[net-next-2.6.git] / net / ipv6 / ip6mr.c
index 6f32ffce7022c198e4c78c9126c3df90026697c2..9fab274019c0656dd4f01365ac14e46e0f1f764d 100644 (file)
@@ -1843,9 +1843,7 @@ static int ip6mr_forward2(struct net *net, struct mr6_table *mrt,
 
        fl = (struct flowi) {
                .oif = vif->link,
-               .nl_u = { .ip6_u =
-                               { .daddr = ipv6h->daddr, }
-               }
+               .fl6_dst = ipv6h->daddr,
        };
 
        dst = ip6_route_output(net, NULL, &fl);