projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Keep last known address and time since reachability changed.
[tinc]
/
src
/
net_packet.c
diff --git
a/src/net_packet.c
b/src/net_packet.c
index
d45f0d0
..
abfb55c
100644
(file)
--- a/
src/net_packet.c
+++ b/
src/net_packet.c
@@
-797,7
+797,7
@@
static node_t *try_harder(const sockaddr_t *from, const vpn_packet_t *pkt) {
for(node = edge_weight_tree->head; node; node = node->next) {
e = node->data;
- if(e->to == myself)
+ if(
!e->to->status.reachable ||
e->to == myself)
continue;
if(sockaddrcmp_noport(from, &e->address)) {