From 1d78616ff859d18a186bb85326c1cf6bfdbc74a1 Mon Sep 17 00:00:00 2001 From: emanuel Date: Wed, 2 Mar 2022 17:32:37 +0000 Subject: [PATCH] Syslog efforts --- src/facilities.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/facilities.c b/src/facilities.c index e18aeae..c313d40 100644 --- a/src/facilities.c +++ b/src/facilities.c @@ -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: