Module: kamailio
Branch: master
Commit: f98b6f6034b30ace3812607db9d983e132f75c25
URL:
https://github.com/kamailio/kamailio/commit/f98b6f6034b30ace3812607db9d983e…
Author: Mikko Lehto <mslehto(a)iki.fi>
Committer: Mikko Lehto <mslehto(a)iki.fi>
Date: 2017-03-03T11:42:30+02:00
modules/siptrace: remove duplicate HEP version check
---
Modified: src/modules/siptrace/siptrace.c
---
Diff:
https://github.com/kamailio/kamailio/commit/f98b6f6034b30ace3812607db9d983e…
Patch:
https://github.com/kamailio/kamailio/commit/f98b6f6034b30ace3812607db9d983e…
---
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");