Nearly tickless tinc.
[oweals/tinc.git] / src / route.c
index 1caf738ff99493c02ad1782b0547ba178d0ef5cc..e3bcf3bb09ffc302cc135167212c18019fa1abdd 100644 (file)
@@ -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))