Module: kamailio Branch: master Commit: 3892c78ac59a7d894a5dc8804c20df07b52cc795 URL: https://github.com/kamailio/kamailio/commit/3892c78ac59a7d894a5dc8804c20df07...
Author: Luis Azedo luis@2600hz.com Committer: lazedo luis.azedo@factorlusitano.com Date: 2018-10-01T17:13:05+02:00
Revert "nathelper: fix call to alter_mediaip"
This reverts commit 17c14a966ff3ba67ce858dfe424d7cdf5100d4fa.
---
Modified: src/modules/nathelper/nathelper.c
---
Diff: https://github.com/kamailio/kamailio/commit/3892c78ac59a7d894a5dc8804c20df07... Patch: https://github.com/kamailio/kamailio/commit/3892c78ac59a7d894a5dc8804c20df07...
---
diff --git a/src/modules/nathelper/nathelper.c b/src/modules/nathelper/nathelper.c index 09b385f389..bb9c99767f 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, &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;