فهرست منبع

Revert "nathelper: fix call to alter_mediaip"

This reverts commit 17c14a966ff3ba67ce858dfe424d7cdf5100d4fa.
Luis Azedo 7 سال پیش
والد
کامیت
3892c78ac5
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      src/modules/nathelper/nathelper.c

+ 1 - 1
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;