[prev in list] [next in list] [prev in thread] [next in thread] 

List:       sr-dev
Subject:    [sr-dev] git:master:17c14a96: nathelper: fix call to alter_mediaip
From:       lazedo <luis.azedo () factorlusitano ! com>
Date:       2018-09-28 16:00:29
Message-ID: E1g5vBt-0002zy-Fm () www ! kamailio ! org
[Download RAW message or body]

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

Author: lazedo <luis.azedo@factorlusitano.com>
Committer: lazedo <luis.azedo@factorlusitano.com>
Date: 2018-09-28T18:00:22+02:00

nathelper: fix call to alter_mediaip

---

Modified: src/modules/nathelper/nathelper.c

---

Diff:  https://github.com/kamailio/kamailio/commit/17c14a966ff3ba67ce858dfe424d7cdf5100d4fa.diff
Patch: https://github.com/kamailio/kamailio/commit/17c14a966ff3ba67ce858dfe424d7cdf5100d4fa.patch

---

diff --git a/src/modules/nathelper/nathelper.c b/src/modules/nathelper/nathelper.c
index bb9c99767f..09b385f389 100644
--- a/src/modules/nathelper/nathelper.c
+++ b/src/modules/nathelper/nathelper.c
@@ -1529,7 +1529,7 @@ static inline int replace_sdp_ip(
 		body2.s = oldip.s + oldip.len;
 		body2.len = bodylimit - body2.s;
 		ret = alter_mediaip(
-				msg, &body1, &oldip, pf, &newip, pf, sdp_oldmediaip);
+				msg, &body2, &oldip, pf, &newip, pf, sdp_oldmediaip);
 		if(ret == -1) {
 			LM_ERR("can't alter '%s' IP\n", line);
 			return -1;


_______________________________________________
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic