Module: kamailio
Branch: master
Commit: 17c14a966ff3ba67ce858dfe424d7cdf5100d4fa
URL:
https://github.com/kamailio/kamailio/commit/17c14a966ff3ba67ce858dfe424d7cd…
Author: lazedo <luis.azedo(a)factorlusitano.com>
Committer: lazedo <luis.azedo(a)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/17c14a966ff3ba67ce858dfe424d7cd…
Patch:
https://github.com/kamailio/kamailio/commit/17c14a966ff3ba67ce858dfe424d7cd…
---
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;