From: Roy Marples Date: Tue, 15 Sep 2015 11:03:31 +0000 (+0000) Subject: Change IPv6 routes when MTU differs as well. X-Git-Tag: v6.9.4~43 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8a8c80fa7a1f3887281ab455f30af49e5cb0e8d5;p=thirdparty%2Fdhcpcd.git Change IPv6 routes when MTU differs as well. --- diff --git a/ipv6.c b/ipv6.c index fbb87813..0c0cd3c9 100644 --- a/ipv6.c +++ b/ipv6.c @@ -2155,7 +2155,8 @@ ipv6_buildroutes(struct dhcpcd_ctx *ctx) rt->metric != or->metric || #endif // or->src.s_addr != ifp->addr.s_addr || - !IN6_ARE_ADDR_EQUAL(&rt->gate, &or->gate)) + !IN6_ARE_ADDR_EQUAL(&or->gate, &rt->gate) || + or->mtu != rt->mtu) { if (c_route(or, rt) != 0) continue;