[sr-dev] git:master:31185385: Update acc_radius_mod.c

Yasin yasin.caner at netgsm.com.tr
Fri Oct 2 18:15:30 CEST 2015


Module: kamailio
Branch: master
Commit: 31185385cf017f2d00a3d2a6c69ce5776304eb9a
URL: https://github.com/kamailio/kamailio/commit/31185385cf017f2d00a3d2a6c69ce5776304eb9a

Author: Yasin <yasin.caner at netgsm.com.tr>
Committer: Yasin <yasin.caner at netgsm.com.tr>
Date: 2015-10-02T11:09:36+03:00

Update acc_radius_mod.c

---

Modified: modules/acc_radius/acc_radius_mod.c

---

Diff:  https://github.com/kamailio/kamailio/commit/31185385cf017f2d00a3d2a6c69ce5776304eb9a.diff
Patch: https://github.com/kamailio/kamailio/commit/31185385cf017f2d00a3d2a6c69ce5776304eb9a.patch

---

diff --git a/modules/acc_radius/acc_radius_mod.c b/modules/acc_radius/acc_radius_mod.c
index 3ec064b..5a660d6 100644
--- a/modules/acc_radius/acc_radius_mod.c
+++ b/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);




More information about the sr-dev mailing list