projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Test running ping through two tinc daemons.
[tinc]
/
src
/
protocol_key.c
diff --git
a/src/protocol_key.c
b/src/protocol_key.c
index
0eeddb8
..
a3cf3f5
100644
(file)
--- a/
src/protocol_key.c
+++ b/
src/protocol_key.c
@@
-386,7
+386,7
@@
bool ans_key_h(connection_t *c, const char *request) {
update_node_udp(from, &sa);
}
update_node_udp(from, &sa);
}
- if(from->options & OPTION_PMTU_DISCOVERY)
+ if(from->options & OPTION_PMTU_DISCOVERY
&& !(from->options & OPTION_TCPONLY)
)
send_mtu_probe(from);
}
send_mtu_probe(from);
}
@@
-435,7
+435,7
@@
bool ans_key_h(connection_t *c, const char *request) {
update_node_udp(from, &sa);
}
update_node_udp(from, &sa);
}
- if(from->options & OPTION_PMTU_DISCOVERY)
+ if(from->options & OPTION_PMTU_DISCOVERY
&& !(from->options & OPTION_TCPONLY)
)
send_mtu_probe(from);
return true;
send_mtu_probe(from);
return true;