X-Git-Url: http://tinc-vpn.org/git/browse?a=blobdiff_plain;ds=sidebyside;f=src%2Fnet_packet.c;h=70b6106bb9acbd59bd83258a9d14fe74a2625a87;hb=19d16e40ccfb39461eda5336f4e754e10a640aba;hp=ecdcfe203e9b7e39937d9832c99d2aa56c4aa26b;hpb=66f325f4674e70d83744626f3b8dda6760f8d613;p=tinc diff --git a/src/net_packet.c b/src/net_packet.c index ecdcfe20..70b6106b 100644 --- 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; }