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