Only log success of initial datagram SPTPS handshake.
This commit is contained in:
parent
44a24f63ac
commit
ee1d655f2f
1 changed files with 5 additions and 3 deletions
|
|
@ -674,9 +674,11 @@ bool receive_sptps_record(void *handle, uint8_t type, const char *data, uint16_t
|
||||||
node_t *from = handle;
|
node_t *from = handle;
|
||||||
|
|
||||||
if(type == SPTPS_HANDSHAKE) {
|
if(type == SPTPS_HANDSHAKE) {
|
||||||
|
if(!from->status.validkey) {
|
||||||
from->status.validkey = true;
|
from->status.validkey = true;
|
||||||
from->status.waitingforkey = false;
|
from->status.waitingforkey = false;
|
||||||
logger(DEBUG_META, LOG_INFO, "SPTPS key exchange with %s (%s) succesful", from->name, from->hostname);
|
logger(DEBUG_META, LOG_INFO, "SPTPS key exchange with %s (%s) succesful", from->name, from->hostname);
|
||||||
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue