projects
/
tinc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
74e50d5
)
Do not consider unreachable nodes when trying to determine packet origin.
author
Guus Sliepen
<guus@tinc-vpn.org>
Sat, 19 Dec 2009 19:53:48 +0000
(20:53 +0100)
committer
Guus Sliepen
<guus@tinc-vpn.org>
Sat, 19 Dec 2009 19:53:48 +0000
(20:53 +0100)
src/net_packet.c
patch
|
blob
|
history
diff --git
a/src/net_packet.c
b/src/net_packet.c
index
64732d0
..
b50ddc4
100644
(file)
--- a/
src/net_packet.c
+++ b/
src/net_packet.c
@@
-515,7
+515,7
@@
static node_t *try_harder(const sockaddr_t *from, const vpn_packet_t *pkt) {
for(node = node_tree->head; node; node = node->next) {
n = node->data;
- if(n == myself || !digest_active(&n->indigest))
+ if(n == myself || !
n->status.reachable || !
digest_active(&n->indigest))
continue;
if(try_mac(n, pkt)) {