]> tinc-vpn.org Git - tinc/blobdiff - src/net_packet.c
Allow Cipher and Digest "none".
[tinc] / src / net_packet.c
index ecdcfe203e9b7e39937d9832c99d2aa56c4aa26b..70b6106bb9acbd59bd83258a9d14fe74a2625a87 100644 (file)
@@ -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;
        }