Skip to content

Commit

Permalink
rtpengine: rework media-address fix by checking if value is specified
Browse files Browse the repository at this point in the history
Thanks go to @wangduanduan for reporting it in #2692
  • Loading branch information
razvancrainea committed Nov 25, 2021
1 parent 97ea33a commit 83e0bf6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/rtpengine/rtpengine.c
Expand Up @@ -1827,6 +1827,7 @@ static int parse_flags(struct ng_flags_parse *ng_flags, struct sip_msg *msg,
err = "missing value";
if (!val.s)
goto error;
break;
} else if (str_eq(&key, "received-from")) {
if (val.s)
ng_flags->received_from = val;
Expand Down

0 comments on commit 83e0bf6

Please sign in to comment.