It is possible to have multiple routers sending router advertisements,
so mark the default route mpath.

Comments, OKs?

diff --git slaacd.c slaacd.c
index 5e00cdb123c..06c11b241d5 100644
--- slaacd.c
+++ slaacd.c
@@ -737,7 +737,7 @@ configure_gateway(struct imsg_configure_dfr *dfr, uint8_t 
rtm_type)
        rtm.rtm_seq = ++rtm_seq;
        rtm.rtm_priority = RTP_DEFAULT;
        rtm.rtm_addrs = RTA_DST | RTA_GATEWAY | RTA_NETMASK | RTA_LABEL;
-       rtm.rtm_flags = RTF_UP | RTF_GATEWAY | RTF_STATIC;
+       rtm.rtm_flags = RTF_UP | RTF_GATEWAY | RTF_STATIC | RTF_MPATH;
 
        iov[iovcnt].iov_base = &rtm;
        iov[iovcnt++].iov_len = sizeof(rtm);


-- 
I'm not entirely sure you are real.

Reply via email to