浏览代码

auth_radius: Improve error message to simplify debugging

Olle E. Johansson 11 年之前
父节点
当前提交
6e51019b0a
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      modules/auth_radius/sterman.c

+ 1 - 1
modules/auth_radius/sterman.c

@@ -409,7 +409,7 @@ int radius_authorize_sterman(struct sip_msg* _msg, dig_cred_t* _cred, str* _meth
                         goto err;
                 }
 #endif 
-		LM_ERR("authorization failed\n");
+		LM_ERR("authorization failed. RC auth returned %d\n", i);
 	}
 
  err: