X-Git-Url: https://www.tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Froute.c;h=e3bcf3bb09ffc302cc135167212c18019fa1abdd;hp=1caf738ff99493c02ad1782b0547ba178d0ef5cc;hb=5672863e59e6a114ac6b66de98254b14266c0e61;hpb=0ddce6370d39eff162bd212a6e47fe3a8e96a09e 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))