X-Git-Url: http://git.meshlink.io/?p=meshlink;a=blobdiff_plain;f=src%2Fnet_packet.c;fp=src%2Fnet_packet.c;h=67fadfc5a8c6817d740ec5a33aba029ea4417994;hp=02a617d1922bfae065a41539b14ddedec707964e;hb=b3d36651004e8124d9410e249215997a108473ec;hpb=90a197d30aecd6da76fe6730702bdf4634ab1413 diff --git a/src/net_packet.c b/src/net_packet.c index 02a617d1..67fadfc5 100644 --- a/src/net_packet.c +++ b/src/net_packet.c @@ -279,6 +279,11 @@ static void send_sptps_packet(meshlink_handle_t *mesh, node_t *n, vpn_packet_t * } if(!n->status.validkey) { + if(n->connection && (n->connection->flags & PROTOCOL_TINY) & n->connection->status.active) { + send_raw_packet(mesh, n->connection, origpkt); + return; + } + logger(mesh, MESHLINK_INFO, "No valid key known yet for %s", n->name); if(!n->status.waitingforkey) {