Browse code

dispatcher: module load error because of wrong default socket should be logges as LM_ERR

Henning Westerholt authored on 09/08/2019 07:29:41
Showing 1 changed files
... ...
@@ -347,7 +347,7 @@ static int mod_init(void)
347 347
 		ds_default_sockinfo =
348 348
 				grep_sock_info(&host, (unsigned short)port, proto);
349 349
 		if(ds_default_sockinfo == 0) {
350
-			LM_WARN("non-local socket <%.*s>\n", ds_default_socket.len,
350
+			LM_ERR("non-local socket <%.*s>\n", ds_default_socket.len,
351 351
 					ds_default_socket.s);
352 352
 			return -1;
353 353
 		}