Module: kamailio
Branch: 5.1
Commit: 0f8395361acc9976dd20e8189b89ff4bed93a53e
URL:
https://github.com/kamailio/kamailio/commit/0f8395361acc9976dd20e8189b89ff4…
Author: Luis Azedo <luis(a)2600hz.com>
Committer: Luis Azedo <luis(a)2600hz.com>
Date: 2018-10-01T20:35:48+01:00
Revert "nathelper: fix call to alter_mediaip"
This reverts commit 17c14a966ff3ba67ce858dfe424d7cdf5100d4fa.
(cherry picked from commit 3892c78ac59a7d894a5dc8804c20df07b52cc795)
---
Modified: src/modules/nathelper/nathelper.c
---
Diff:
https://github.com/kamailio/kamailio/commit/0f8395361acc9976dd20e8189b89ff4…
Patch:
https://github.com/kamailio/kamailio/commit/0f8395361acc9976dd20e8189b89ff4…
---
diff --git a/src/modules/nathelper/nathelper.c b/src/modules/nathelper/nathelper.c
index 3c478c68b5..4042af3b1a 100644
--- a/src/modules/nathelper/nathelper.c
+++ b/src/modules/nathelper/nathelper.c
@@ -1531,7 +1531,7 @@ static inline int replace_sdp_ip(
body2.s = oldip.s + oldip.len;
body2.len = bodylimit - body2.s;
ret = alter_mediaip(
- msg, &body2, &oldip, pf, &newip, pf, sdp_oldmediaip);
+ msg, &body1, &oldip, pf, &newip, pf, sdp_oldmediaip);
if(ret == -1) {
LM_ERR("can't alter '%s' IP\n", line);
return -1;