|
@@ -1471,9 +1471,10 @@ static struct rt6_info *ip6_route_redirect(struct in6_addr *dest,
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
- .gateway = *gateway,
|
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
+ ipv6_addr_copy(&rdfl.gateway, gateway);
|
|
|
|
+
|
|
if (rt6_need_strict(dest))
|
|
if (rt6_need_strict(dest))
|
|
flags |= RT6_LOOKUP_F_IFACE;
|
|
flags |= RT6_LOOKUP_F_IFACE;
|
|
|
|
|