Skip to content

Commit

Permalink
sipcapture: debug message with header offset and address family
Browse files Browse the repository at this point in the history
  • Loading branch information
miconda committed Nov 21, 2022
1 parent 5ff6404 commit 7f258d9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/modules/sipcapture/hep.c
Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 7f258d9

Please sign in to comment.