Module: kamailio
Branch: master
Commit: d3d5ef92d3661d5a95c55a77e8e17793950273c2
URL:
https://github.com/kamailio/kamailio/commit/d3d5ef92d3661d5a95c55a77e8e1779…
Author: Alexandr Dubovikov <alexandr.dubovikov(a)gmail.com>
Committer: GitHub <noreply(a)github.com>
Date: 2017-03-03T11:25:30+01:00
Merge pull request #1013 from mslehto/hepv3
modules/siptrace: remove duplicate HEP version check
---
Modified: src/modules/siptrace/siptrace.c
---
Diff:
https://github.com/kamailio/kamailio/commit/d3d5ef92d3661d5a95c55a77e8e1779…
Patch:
https://github.com/kamailio/kamailio/commit/d3d5ef92d3661d5a95c55a77e8e1779…
---
diff --git a/src/modules/siptrace/siptrace.c b/src/modules/siptrace/siptrace.c
index a476114..fbddf23 100644
--- a/src/modules/siptrace/siptrace.c
+++ b/src/modules/siptrace/siptrace.c
@@ -320,11 +320,6 @@ static int mod_init(void)
}
}
- if(hep_version != 1 && hep_version != 2 && hep_version != 3) {
- LM_ERR("unsupported version of HEP");
- return -1;
- }
-
trace_on_flag = (int*)shm_malloc(sizeof(int));
if(trace_on_flag==NULL) {
LM_ERR("no more shm memory left\n");