From 46c569989f984226916fec28dd8ef152a664043e Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Mon, 8 Sep 2014 16:40:50 +0200 Subject: [PATCH] ipv6: work around kernel on-link handling issue Signed-off-by: Steven Barth --- interface-ip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface-ip.c b/interface-ip.c index 8d12658..62d15fd 100644 --- a/interface-ip.c +++ b/interface-ip.c @@ -601,7 +601,7 @@ interface_update_proto_route(struct vlist_tree *tree, if (node_old && node_new) keep = !memcmp(&route_old->nexthop, &route_new->nexthop, sizeof(route_old->nexthop)) && (route_old->mtu == route_new->mtu) && (route_old->type == route_new->type) && - !route_old->failed; + (route_old->valid_until == route_new->valid_until) && !route_old->failed; if (node_old) { if (!(route_old->flags & DEVADDR_EXTERNAL) && route_old->enabled && !keep) -- 2.25.1