From: Roy Marples Date: Thu, 10 Oct 2024 10:10:11 +0000 (+0100) Subject: IPv6: Mark Route Information Routes as from RA X-Git-Tag: v10.2.0~44 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F374%2Fhead;p=thirdparty%2Fdhcpcd.git IPv6: Mark Route Information Routes as from RA --- diff --git a/src/ipv6.c b/src/ipv6.c index 576c63d9..1b6c264c 100644 --- a/src/ipv6.c +++ b/src/ipv6.c @@ -2331,6 +2331,7 @@ inet6_raroutes(rb_tree_t *routes, struct dhcpcd_ctx *ctx) sa_in6_init(&rt->rt_dest, &rinfo->prefix); sa_in6_init(&rt->rt_netmask, &netmask); sa_in6_init(&rt->rt_gateway, &rap->from); + rt->rt_dflags |= RTDF_RA; #ifdef HAVE_ROUTE_PREF rt->rt_pref = ipv6nd_rtpref(rinfo->flags); #endif