From fe18e0ed2954498b4811d33c3d3539f227d3a137 Mon Sep 17 00:00:00 2001 From: thorkill Date: Wed, 11 May 2016 18:37:01 +0200 Subject: [PATCH] Reverted changes to try_tx_sptps - should fix the problem with unknown source at the beginning of communication between nodes --- src/net_packet.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/net_packet.c b/src/net_packet.c index db9222c2..d0a5179b 100644 --- a/src/net_packet.c +++ b/src/net_packet.c @@ -1204,14 +1204,6 @@ static void try_tx_sptps(node_t *n, bool mtu) { if(n->connection && ((myself->options | n->options) & OPTION_TCPONLY)) return; - if (n->sptps.initiator && n->sptps.state != SPTPS_SECONDARY_KEX) { - logger(DEBUG_ALWAYS, LOG_INFO, "%s:%d : with %s i: %d u: %d s: %d o: %d", __FUNCTION__, __LINE__, - n->name, - n->sptps.initiator, n->sptps.datagram, - n->sptps.state, n->sptps.outstate); - return; - } - /* Otherwise, try to do SPTPS authentication with n if necessary. */ try_sptps(n);