From 97d3414105e5128ace63f1de7f3d6ab26cedd819 Mon Sep 17 00:00:00 2001 From: Richard Fuchs Date: Tue, 9 Jul 2013 09:12:31 -0400 Subject: [PATCH] fix bug when trust-address isnt given --- daemon/sdp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon/sdp.c b/daemon/sdp.c index 664df62..b9eddbb 100644 --- a/daemon/sdp.c +++ b/daemon/sdp.c @@ -750,7 +750,7 @@ static int fill_stream_address(struct stream_input *si, struct sdp_media *media, if (!flags->trust_address) { if (is_addr_unspecified(&flags->parsed_address)) { - if (__parse_address(&si->stream.ip46, NULL, &flags->received_from_family, + if (__parse_address(&flags->parsed_address, NULL, &flags->received_from_family, &flags->received_from_address)) return -1; }