Module: kamailio Branch: master Commit: 0975a8ced468700b8dfa8441ec1c910904c7ded9 URL: https://github.com/kamailio/kamailio/commit/0975a8ced468700b8dfa8441ec1c910904c7ded9
Author: Alexandr Dubovikov <alexandr.dubovi...@gmail.com> Committer: GitHub <nore...@github.com> Date: 2016-12-16T17:01:03+01:00 Merge pull request #891 from zecke/sipcapture/fix-hep-call sipcapture: Fix $hep(0x007) and $hep(0x008) --- Modified: src/modules/sipcapture/hep.c --- Diff: https://github.com/kamailio/kamailio/commit/0975a8ced468700b8dfa8441ec1c910904c7ded9.diff Patch: https://github.com/kamailio/kamailio/commit/0975a8ced468700b8dfa8441ec1c910904c7ded9.patch --- diff --git a/src/modules/sipcapture/hep.c b/src/modules/sipcapture/hep.c index 6b1ae87..1533c5d 100644 --- a/src/modules/sipcapture/hep.c +++ b/src/modules/sipcapture/hep.c @@ -977,11 +977,11 @@ int hepv3_get_chunk(struct sip_msg *msg, char *buf, unsigned int len, int req_ch case 7: hg->src_port = (hep_chunk_uint16_t *) (tmp); ret = pv_get_uintval(msg, param, res, ntohs(hg->src_port->data)); - break; + goto done; case 8: hg->dst_port = (hep_chunk_uint16_t *) (tmp); ret = pv_get_uintval(msg, param, res, ntohs(hg->dst_port->data)); - break; + goto done; case 9: hg->time_sec = (hep_chunk_uint32_t *) (tmp); hg->time_sec->data = ntohl(hg->time_sec->data); _______________________________________________ sr-dev mailing list sr-dev@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev