Module: kamailio
Branch: master
Commit: bd504b2352d322e94072ff7915cc4ee48260cccc
URL:
https://github.com/kamailio/kamailio/commit/bd504b2352d322e94072ff7915cc4ee…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-11-30T14:08:49+01:00
tm: renamed kemi ki_t_relay_to_proto2() to ki_t_relay_to_proto_addr()
---
Modified: src/modules/tm/tm.c
---
Diff:
https://github.com/kamailio/kamailio/commit/bd504b2352d322e94072ff7915cc4ee…
Patch:
https://github.com/kamailio/kamailio/commit/bd504b2352d322e94072ff7915cc4ee…
---
diff --git a/src/modules/tm/tm.c b/src/modules/tm/tm.c
index e46c3fb057..1beeee1053 100644
--- a/src/modules/tm/tm.c
+++ b/src/modules/tm/tm.c
@@ -2923,7 +2923,7 @@ static int ki_t_relay_to_proto(sip_msg_t *msg, str *sproto)
/**
*
*/
-static int ki_t_relay_to_proto2(sip_msg_t *msg, str *sproto, str *host, unsigned int
port)
+static int ki_t_relay_to_proto_addr(sip_msg_t *msg, str *sproto, str *host, unsigned int
port)
{
int proto = PROTO_NONE;
@@ -3284,8 +3284,8 @@ static sr_kemi_t tm_kemi_exports[] = {
{ SR_KEMIP_STR, SR_KEMIP_NONE, SR_KEMIP_NONE,
SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE }
},
- { str_init("tm"), str_init("t_relay_to_proto2"),
- SR_KEMIP_INT, ki_t_relay_to_proto2,
+ { str_init("tm"), str_init("t_relay_to_proto_addr"),
+ SR_KEMIP_INT, ki_t_relay_to_proto_addr,
{ SR_KEMIP_STR, SR_KEMIP_STR, SR_KEMIP_INT,
SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE }
},