Module: kamailio
Branch: master
Commit: ee91829dc65d7062e1aba5069bcd37e0b62a8795
URL:
https://github.com/kamailio/kamailio/commit/ee91829dc65d7062e1aba5069bcd37e…
Author: Henning Westerholt <hw(a)skalatan.de>
Committer: Henning Westerholt <hw(a)skalatan.de>
Date: 2019-08-09T09:29:41+02:00
dispatcher: module load error because of wrong default socket should be logges as LM_ERR
---
Modified: src/modules/dispatcher/dispatcher.c
---
Diff:
https://github.com/kamailio/kamailio/commit/ee91829dc65d7062e1aba5069bcd37e…
Patch:
https://github.com/kamailio/kamailio/commit/ee91829dc65d7062e1aba5069bcd37e…
---
diff --git a/src/modules/dispatcher/dispatcher.c b/src/modules/dispatcher/dispatcher.c
index 101927099a..6c7588d7a9 100644
--- a/src/modules/dispatcher/dispatcher.c
+++ b/src/modules/dispatcher/dispatcher.c
@@ -347,7 +347,7 @@ static int mod_init(void)
ds_default_sockinfo =
grep_sock_info(&host, (unsigned short)port, proto);
if(ds_default_sockinfo == 0) {
- LM_WARN("non-local socket <%.*s>\n", ds_default_socket.len,
+ LM_ERR("non-local socket <%.*s>\n", ds_default_socket.len,
ds_default_socket.s);
return -1;
}