[sr-dev] git:master:bd504b23: tm: renamed kemi ki_t_relay_to_proto2() to ki_t_relay_to_proto_addr()

Daniel-Constantin Mierla miconda at gmail.com
Mon Nov 30 14:09:03 CET 2020


Module: kamailio
Branch: master
Commit: bd504b2352d322e94072ff7915cc4ee48260cccc
URL: https://github.com/kamailio/kamailio/commit/bd504b2352d322e94072ff7915cc4ee48260cccc

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at 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/bd504b2352d322e94072ff7915cc4ee48260cccc.diff
Patch: https://github.com/kamailio/kamailio/commit/bd504b2352d322e94072ff7915cc4ee48260cccc.patch

---

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 }
 	},




More information about the sr-dev mailing list