dispatcher: module load error because of wrong default socket should be logges as...
authorHenning Westerholt <hw@skalatan.de>
Fri, 9 Aug 2019 07:29:41 +0000 (09:29 +0200)
committerHenning Westerholt <hw@skalatan.de>
Fri, 9 Aug 2019 07:29:41 +0000 (09:29 +0200)
src/modules/dispatcher/dispatcher.c

index 1019270..6c7588d 100644 (file)
@@ -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;
                }