From: Jakub Adam Date: Fri, 11 Apr 2014 08:30:40 +0000 (+0200) Subject: media: fix relay candidate raddr and rport X-Git-Tag: 1.18.1~1 X-Git-Url: https://repo.or.cz/w/siplcs.git/commitdiff_plain/835853b3a9227acb4220b218fd90ffe2178bc098 media: fix relay candidate raddr and rport Relay server and port were by mistake repeated in related address and port fields. --- diff --git a/src/core/sdpmsg.c b/src/core/sdpmsg.c index 28a64ec0..b4532a09 100644 --- a/src/core/sdpmsg.c +++ b/src/core/sdpmsg.c @@ -452,8 +452,8 @@ candidates_to_string(GSList *candidates, SipeIceVersion ice_version) case SIPE_CANDIDATE_TYPE_RELAY: type = "relay"; related = g_strdup_printf("raddr %s rport %d ", - c->ip, - c->port); + c->base_ip, + c->base_port); break; case SIPE_CANDIDATE_TYPE_SRFLX: type = "srflx";