Explorar o código

auth_radius: Improve error message to simplify debugging

Olle E. Johansson %!s(int64=11) %!d(string=hai) anos
pai
achega
6e51019b0a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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: