浏览代码

Update acc_radius_mod.c

Yasin 10 年之前
父节点
当前提交
31185385cf
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      modules/acc_radius/acc_radius_mod.c

+ 3 - 0
modules/acc_radius/acc_radius_mod.c

@@ -401,6 +401,9 @@ int acc_radius_send_request(struct sip_msg *req, acc_info_t *inf)
                 goto error;
         }else if(rc_result==OK_RC){
                 LM_DBG("Radius accounting - OK \n");
+        }else{
+        	LM_ERR("Radius accounting - Unkown response \n");
+                goto error;
         }
 
         rc_avpair_free(send);