projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make code to detect two nodes with the same Name less triggerhappy.
[tinc]
/
src
/
route.c
diff --git
a/src/route.c
b/src/route.c
index
1caf738
..
e3bcf3b
100644
(file)
--- 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;
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))
ifdebug(TRAFFIC) {
char netstr[MAXNETSTR];
if(net2str(netstr, sizeof netstr, s))