Module: kamailio
Branch: master
Commit: 439a1c7471c562b14d482c691107e88aaf694162
URL:
https://github.com/kamailio/kamailio/commit/439a1c7471c562b14d482c691107e88…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2023-05-09T20:23:16+02:00
registrar: use xavp->val.v.l for tcp connection id
Co-authored-by: Bastian Triller <bastian.triller(a)gmail.com>
---
Modified: src/modules/registrar/save.c
---
Diff:
https://github.com/kamailio/kamailio/commit/439a1c7471c562b14d482c691107e88…
Patch:
https://github.com/kamailio/kamailio/commit/439a1c7471c562b14d482c691107e88…
---
diff --git a/src/modules/registrar/save.c b/src/modules/registrar/save.c
index 5ccc499787..878f22224b 100644
--- a/src/modules/registrar/save.c
+++ b/src/modules/registrar/save.c
@@ -84,7 +84,7 @@ int reg_get_cfg_tcpconnid(void)
vavp = xavp_get_child_with_ival(®_xavp_cfg, &vname);
if(vavp!=NULL)
{
- n = vavp->val.v.i;
+ n = (int)vavp->val.v.l;
LM_DBG("using tcpconn_id value from xavp: %d\n", n);
}
}