Skip to content

Commit

Permalink
Merge pull request #553 from adubovikov/master
Browse files Browse the repository at this point in the history
modules/sipcapture: fixed correlation_id pointer for HEPv2/v1
  • Loading branch information
miconda committed Apr 1, 2016
2 parents 6643604 + b400123 commit 271554b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions modules/sipcapture/hep.c
Expand Up @@ -66,6 +66,9 @@ int hep_msg_received(void *data)
len = (unsigned *)srevp[1];
ri = (struct receive_info *)srevp[2];

correlation_id = NULL;
authkey = NULL;

count++;
struct hep_hdr *heph;
/* hep_hdr */
Expand Down Expand Up @@ -100,6 +103,9 @@ int hepv2_received(char *buf, unsigned int len, struct receive_info *ri){
memset(heptime, 0, sizeof(struct hep_timehdr));

struct hep_ip6hdr *hepip6h = NULL;

correlation_id = NULL;
authkey = NULL;

hep_offset = 0;

Expand Down

0 comments on commit 271554b

Please sign in to comment.