Module: kamailio
Branch: master
Commit: 4a6b6e3f14318794405ba88a50f3d78971d60197
URL:
https://github.com/kamailio/kamailio/commit/4a6b6e3f14318794405ba88a50f3d78…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2022-11-22T10:19:06+01:00
auth_radius: updated to use xavp long value field
---
Modified: src/modules/auth_radius/sterman.c
---
Diff:
https://github.com/kamailio/kamailio/commit/4a6b6e3f14318794405ba88a50f3d78…
Patch:
https://github.com/kamailio/kamailio/commit/4a6b6e3f14318794405ba88a50f3d78…
---
diff --git a/src/modules/auth_radius/sterman.c b/src/modules/auth_radius/sterman.c
index 25eac9c9f57..1c18328826e 100644
--- a/src/modules/auth_radius/sterman.c
+++ b/src/modules/auth_radius/sterman.c
@@ -160,7 +160,7 @@ static int generate_avps(VALUE_PAIR *received)
if(add_avp(flags, name, val) < 0) {
LM_ERR("unable to create a new AVP\n");
} else {
- LM_DBG("AVP '%.*s'/%d='%.*s'/%d has been added\n",
+ LM_DBG("AVP '%.*s'/%ld='%.*s'/%ld has been added\n",
(flags & AVP_NAME_STR) ? name.s.len : 4,
(flags & AVP_NAME_STR) ? name.s.s : "null",
(flags & AVP_NAME_STR) ? 0 : name.n,