Browse Source

auth_radius: Improve error message to simplify debugging

Olle E. Johansson 11 years ago
parent
commit
6e51019b0a
1 changed files with 1 additions and 1 deletions
  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: