Browse code

auth_radius: updated to use xavp long value field

Daniel-Constantin Mierla authored on 22/11/2022 09:19:06
Showing 1 changed files
... ...
@@ -160,7 +160,7 @@ static int generate_avps(VALUE_PAIR *received)
160 160
 		if(add_avp(flags, name, val) < 0) {
161 161
 			LM_ERR("unable to create a new AVP\n");
162 162
 		} else {
163
-			LM_DBG("AVP '%.*s'/%d='%.*s'/%d has been added\n",
163
+			LM_DBG("AVP '%.*s'/%ld='%.*s'/%ld has been added\n",
164 164
 					(flags & AVP_NAME_STR) ? name.s.len : 4,
165 165
 					(flags & AVP_NAME_STR) ? name.s.s : "null",
166 166
 					(flags & AVP_NAME_STR) ? 0 : name.n,