소스 검색

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;