From 7f258d97431a9a4bccf8155def52c9e9070c9f1d Mon Sep 17 00:00:00 2001 From: Daniel-Constantin Mierla Date: Mon, 21 Nov 2022 11:28:32 +0100 Subject: [PATCH] sipcapture: debug message with header offset and address family --- src/modules/sipcapture/hep.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/modules/sipcapture/hep.c b/src/modules/sipcapture/hep.c index 980cba9095e..2ee838f78d6 100644 --- a/src/modules/sipcapture/hep.c +++ b/src/modules/sipcapture/hep.c @@ -134,6 +134,7 @@ int hepv2_received(char *buf, unsigned int len, struct receive_info *ri) heph->hp_f); return -1; } + LM_DBG("header offset: %d af: %d\n", hl, (int)heph->hp_f); /* PROTO */ if(heph->hp_p == IPPROTO_UDP) @@ -808,6 +809,7 @@ int hepv2_message_parse(char *buf, unsigned int len, sip_msg_t *msg) heph->hp_f); return -1; } + LM_DBG("header offset: %d af: %d\n", hl, (int)heph->hp_f); /* PROTO */ if(heph->hp_p == IPPROTO_UDP)