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
(cherry picked from commit 7f258d9)
  • Loading branch information
miconda committed Jan 6, 2023
1 parent 645f3ed commit caf8465
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/modules/sipcapture/hep.c
Original file line number Diff line number Diff line change
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 caf8465

Please sign in to comment.