]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - net/ipv6/netfilter.c
net: use the macros defined for the members of flowi
[net-next-2.6.git] / net / ipv6 / netfilter.c
index 7155b2451d7cf297ab2b87d244e217ccf82f4071..35915e8617f08ccf274855378bce1d4705aea6b0 100644 (file)
@@ -18,10 +18,8 @@ int ip6_route_me_harder(struct sk_buff *skb)
        struct flowi fl = {
                .oif = skb->sk ? skb->sk->sk_bound_dev_if : 0,
                .mark = skb->mark,
-               .nl_u =
-               { .ip6_u =
-                 { .daddr = iph->daddr,
-                   .saddr = iph->saddr, } },
+               .fl6_dst = iph->daddr,
+               .fl6_src = iph->saddr,
        };
 
        dst = ip6_route_output(net, skb->sk, &fl);