This fix downgrades the ERROR message indicating no res_stun_monitor.conf to a WARNIN...
authorDavid Vossel <dvossel@digium.com>
Tue, 24 Aug 2010 18:45:57 +0000 (18:45 +0000)
committerDavid Vossel <dvossel@digium.com>
Tue, 24 Aug 2010 18:45:57 +0000 (18:45 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@283456 65c4cc65-6c06-0410-ace0-fbb531ad65f3

res/res_stun_monitor.c

index 54be1e4..49f231a 100644 (file)
@@ -218,7 +218,7 @@ static int load_config(int startup)
 
        if (!(cfg = ast_config_load2(stun_conf_file, "res_stun_monitor", config_flags)) ||
                cfg == CONFIG_STATUS_FILEINVALID) {
-               ast_log(LOG_ERROR, "Unable to load config %s\n", stun_conf_file);
+               ast_log(LOG_WARNING, "Unable to load config %s\n", stun_conf_file);
                return -1;
        }