Browse code

Revert "nathelper: fix call to alter_mediaip"

This reverts commit 17c14a966ff3ba67ce858dfe424d7cdf5100d4fa.

(cherry picked from commit 3892c78ac59a7d894a5dc8804c20df07b52cc795)

Luis Azedo authored on 01/10/2018 12:51:08
Showing 1 changed files
... ...
@@ -1531,7 +1531,7 @@ static inline int replace_sdp_ip(
1531 1531
 		body2.s = oldip.s + oldip.len;
1532 1532
 		body2.len = bodylimit - body2.s;
1533 1533
 		ret = alter_mediaip(
1534
-				msg, &body2, &oldip, pf, &newip, pf, sdp_oldmediaip);
1534
+				msg, &body1, &oldip, pf, &newip, pf, sdp_oldmediaip);
1535 1535
 		if(ret == -1) {
1536 1536
 			LM_ERR("can't alter '%s' IP\n", line);
1537 1537
 			return -1;