ipv6: work around kernel on-link handling issue
authorSteven Barth <steven@midlink.org>
Mon, 8 Sep 2014 14:40:50 +0000 (16:40 +0200)
committerSteven Barth <steven@midlink.org>
Mon, 8 Sep 2014 14:40:50 +0000 (16:40 +0200)
Signed-off-by: Steven Barth <steven@midlink.org>
interface-ip.c

index 8d1265882f6e16e88d496328679d2d5eac59d4f0..62d15fd7477e07fa38a401c2c28cf033d22c404b 100644 (file)
@@ -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)