Module: kamailio Branch: master Commit: 439a1c7471c562b14d482c691107e88aaf694162 URL: https://github.com/kamailio/kamailio/commit/439a1c7471c562b14d482c691107e88aaf694162
Author: Daniel-Constantin Mierla <mico...@gmail.com> Committer: Daniel-Constantin Mierla <mico...@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.tril...@gmail.com> --- Modified: src/modules/registrar/save.c --- Diff: https://github.com/kamailio/kamailio/commit/439a1c7471c562b14d482c691107e88aaf694162.diff Patch: https://github.com/kamailio/kamailio/commit/439a1c7471c562b14d482c691107e88aaf694162.patch --- 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); } } _______________________________________________ Kamailio (SER) - Development Mailing List To unsubscribe send an email to sr-dev-le...@lists.kamailio.org