Syslog debug TLS state while hs
This commit is contained in:
parent
862da68014
commit
2a901e0c4d
|
|
@ -314,6 +314,8 @@ static int transport_indication(facilities_t *facilities, void* responder, void*
|
|||
goto cleanup;
|
||||
}
|
||||
|
||||
syslog_debug("[facilities] [tolling] tls n-msg:%d state:%d", tlsc->nmsg, tlsc->state);
|
||||
|
||||
// Forward to [transport]
|
||||
if (srep->data->choice.tlsRecv.state != 1) {
|
||||
tr = calloc(1, sizeof(TransportRequest_t));
|
||||
|
|
@ -335,7 +337,7 @@ static int transport_indication(facilities_t *facilities, void* responder, void*
|
|||
tpr->sourcePort = 7011;
|
||||
|
||||
if (facilities->tolling.protocol.p == TOLLING_PROTOCOL_TLS_GN ||
|
||||
facilities->tolling.protocol.p == TOLLING_PROTOCOL_TLS_SHS) {
|
||||
(facilities->tolling.protocol.p == TOLLING_PROTOCOL_TLS_SHS && tlsc->nmsg < 2)) {
|
||||
tpr->gn = calloc(1, sizeof(GeonetworkingOutboundOptions_t));
|
||||
tpr->gn->packetTransportType = PacketTransportType_shb;
|
||||
tpr->gn->destinationAddress.buf = calloc(1, 6);
|
||||
|
|
|
|||
Loading…
Reference in New Issue