Explorar o código

Update acc_radius_mod.c

Yasin %!s(int64=10) %!d(string=hai) anos
pai
achega
31185385cf
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  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);