projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Allow Cipher and Digest "none".
[tinc]
/
src
/
net_packet.c
diff --git
a/src/net_packet.c
b/src/net_packet.c
index
ecdcfe2
..
70b6106
100644
(file)
--- a/
src/net_packet.c
+++ b/
src/net_packet.c
@@
-378,7
+378,7
@@
static void receive_udppacket(node_t *n, vpn_packet_t *inpkt) {
return;
}
- if(!
cipher_active(n->incipher)
) {
+ if(!
n->status.validkey
) {
logger(DEBUG_TRAFFIC, LOG_DEBUG, "Got packet from %s (%s) but he hasn't got our key yet", n->name, n->hostname);
return;
}