Skip to content

Commit

Permalink
nathelper: fix call to alter_mediaip
Browse files Browse the repository at this point in the history
(cherry picked from commit 17c14a9)
  • Loading branch information
lazedo committed Sep 28, 2018
1 parent 53bc3a9 commit ba9ee6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/nathelper/nathelper.c
Original file line number Diff line number Diff line change
Expand Up @@ -1531,7 +1531,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;
Expand Down

0 comments on commit ba9ee6d

Please sign in to comment.