Added excessive debug output to sptps
This commit is contained in:
parent
c94214500f
commit
1dd8033ea5
7 changed files with 107 additions and 27 deletions
|
|
@ -1192,6 +1192,14 @@ 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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue