Module: kamailio
Branch: 4.4
Commit: 0367cdcd094566657cc8ec1b22790d1f927993cd
URL:
https://github.com/kamailio/kamailio/commit/0367cdcd094566657cc8ec1b22790d1…
Author: Bastian Triller <btriller(a)broadsoft.com>
Committer: Bastian Triller <bastian.triller(a)gmail.com>
Date: 2017-10-13T16:53:08+02:00
sipcapture: fix HEP3 capture-id >= 2^16
(cherry picked from commit dbd57c3eac30e1de54d98eb2ba8f608a17f7adbf)
---
Modified: modules/sipcapture/sipcapture.c
---
Diff:
https://github.com/kamailio/kamailio/commit/0367cdcd094566657cc8ec1b22790d1…
Patch:
https://github.com/kamailio/kamailio/commit/0367cdcd094566657cc8ec1b22790d1…
---
diff --git a/modules/sipcapture/sipcapture.c b/modules/sipcapture/sipcapture.c
index fb999360a5..e80158b82e 100644
--- a/modules/sipcapture/sipcapture.c
+++ b/modules/sipcapture/sipcapture.c
@@ -257,7 +257,7 @@ enum hash_source source = hs_error;
//unsigned int rr_idx = 0;
-struct hep_timehdr* heptime;
+struct hep_timeinfo* heptime;
/*! \brief
* Exported functions
@@ -1112,7 +1112,7 @@ static int child_init(int rank)
}
- heptime = (struct hep_timehdr*)pkg_malloc(sizeof(struct hep_timehdr));
+ heptime = (struct hep_timeinfo*)pkg_malloc(sizeof(struct hep_timeinfo));
if(heptime==NULL) {
LM_ERR("no more pkg memory left\n");
return -1;