Module: kamailio
Branch: master
Commit: d132d595c7a75e1206f4d42973966767e305f4fb
URL:
https://github.com/kamailio/kamailio/commit/d132d595c7a75e1206f4d4297396676…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2021-12-17T08:38:25+01:00
kemix: rename get_sas() to get_srcaddr_sock()
---
Modified: src/modules/kemix/kemix_mod.c
---
Diff:
https://github.com/kamailio/kamailio/commit/d132d595c7a75e1206f4d4297396676…
Patch:
https://github.com/kamailio/kamailio/commit/d132d595c7a75e1206f4d4297396676…
---
diff --git a/src/modules/kemix/kemix_mod.c b/src/modules/kemix/kemix_mod.c
index 089ad5e326..3fb079349a 100644
--- a/src/modules/kemix/kemix_mod.c
+++ b/src/modules/kemix/kemix_mod.c
@@ -1103,7 +1103,7 @@ static sr_kemi_xval_t* ki_kx_get_srcuri(sip_msg_t *msg)
/**
*
*/
-static sr_kemi_xval_t* ki_kx_get_sas(sip_msg_t *msg)
+static sr_kemi_xval_t* ki_kx_get_srcaddr_sock(sip_msg_t *msg)
{
str ssock;
@@ -1403,8 +1403,8 @@ static sr_kemi_t sr_kemi_kx_exports[] = {
{ SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE,
SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE }
},
- { str_init("kx"), str_init("get_sas"),
- SR_KEMIP_XVAL, ki_kx_get_sas,
+ { str_init("kx"), str_init("get_srcaddr_sock"),
+ SR_KEMIP_XVAL, ki_kx_get_srcaddr_sock,
{ SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE,
SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE }
},