Syslog efforts
This commit is contained in:
parent
6ebddecd7b
commit
1d78616ff8
|
|
@ -71,9 +71,9 @@ static int transport_indication(facilities_t *facilities, void* responder, void*
|
|||
}
|
||||
|
||||
zmq_send(responder, &code, 1, 0);
|
||||
syslog_debug("[facilities]<- received TI | size:%dB", msg_len);
|
||||
|
||||
TransportPacketIndication_t* tpi = &ti->choice.packet; // TODO
|
||||
//
|
||||
|
||||
bool fwd = false;
|
||||
|
||||
|
|
@ -86,6 +86,7 @@ static int transport_indication(facilities_t *facilities, void* responder, void*
|
|||
switch (tpi->present) {
|
||||
case TransportPacketIndication_PR_btp:
|
||||
id = tpi->choice.btp.id;
|
||||
syslog_debug("[facilities]<- received TI.packet.btp | id:%ld size:%dB", id, msg_len);
|
||||
// Parse message
|
||||
switch (tpi->choice.btp.destinationPort) {
|
||||
case Port_cam:
|
||||
|
|
@ -244,6 +245,7 @@ static int transport_indication(facilities_t *facilities, void* responder, void*
|
|||
break;
|
||||
case TransportPacketIndication_PR_tcp:
|
||||
id = tpi->choice.tcp.id;
|
||||
syslog_debug("[facilities]<- received TI.packet.tcp | id:%ld size:%dB", id, msg_len);
|
||||
|
||||
sreq = calloc(1, sizeof(SecurityRequest_t));
|
||||
sreq->present = SecurityRequest_PR_tlsRecv;
|
||||
|
|
@ -316,6 +318,7 @@ static int transport_indication(facilities_t *facilities, void* responder, void*
|
|||
break;
|
||||
case TransportPacketIndication_PR_udp:
|
||||
id = tpi->choice.udp.id;
|
||||
syslog_debug("[facilities]<- received TI.packet.udp | id:%ld size:%dB", id, msg_len);
|
||||
break;
|
||||
|
||||
default:
|
||||
|
|
|
|||
Loading…
Reference in New Issue