浏览代码

modules/lcr: issue INFO level log message when gw is activated
due to valid OPTIONS ping response

Juha Heinanen 11 年之前
父节点
当前提交
f5725d3579
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      modules/lcr/lcr_mod.c

+ 1 - 1
modules/lcr/lcr_mod.c

@@ -2367,7 +2367,7 @@ static void ping_callback(struct cell *t, int type, struct tmcb_params *ps)
 	(check_extra_codes(ps->code) == 0)) {
 	if ((uri.len == gw->uri_len) &&
 	    (strncmp(uri.s, &(gw->uri[0]), uri.len) == 0)) {
-	    LM_DBG("activating gw with uri %.*s\n", uri.len, uri.s);
+	    LM_INFO("activating gw with uri %.*s\n", uri.len, uri.s);
 	    gw->state = GW_ACTIVE;
 	} else {
 	    LM_DBG("ignoring OPTIONS reply due to lcr.reload\n");