X-Git-Url: https://tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Froute.c;h=e3bcf3bb09ffc302cc135167212c18019fa1abdd;hp=1caf738ff99493c02ad1782b0547ba178d0ef5cc;hb=50af33d01f425983dd2b1d7b61092a6325be3f41;hpb=64771f73ebbff04262defcde59263e98f89f0fa1 diff --git a/src/route.c b/src/route.c index 1caf738f..e3bcf3bb 100644 --- a/src/route.c +++ b/src/route.c @@ -220,7 +220,7 @@ void age_subnets(void) { for(node = myself->subnet_tree->head; node; node = next) { next = node->next; s = node->data; - if(s->expires && s->expires < now) { + if(s->expires && s->expires <= now) { ifdebug(TRAFFIC) { char netstr[MAXNETSTR]; if(net2str(netstr, sizeof netstr, s))