[IPV6]: Support Source Address Selection API (RFC5014).
[safe/jmp/linux-2.6] / net / ipv6 / xfrm6_policy.c
index e96dafd..d92d1fc 100644 (file)
@@ -58,7 +58,7 @@ static int xfrm6_get_saddr(xfrm_address_t *saddr, xfrm_address_t *daddr)
                return -EHOSTUNREACH;
 
        ipv6_dev_get_saddr(ip6_dst_idev(dst)->dev,
-                          (struct in6_addr *)&daddr->a6,
+                          (struct in6_addr *)&daddr->a6, 0,
                           (struct in6_addr *)&saddr->a6);
        dst_release(dst);
        return 0;