Broadcast discovery fix local port setting

This commit is contained in:
Gioacchino Mazzurco 2019-04-15 00:05:40 +02:00
parent e7a2cb5501
commit 954644ef57
No known key found for this signature in database
GPG Key ID: A1FBCA3872E87051

View File

@ -201,7 +201,7 @@ RsBroadcastDiscoveryResult BroadcastDiscoveryService::createResult(
rbdr.locator.
setScheme("ipv4").
setHost(UDC::IpToString(ipp.ip())).
setPort(static_cast<uint16_t>(ipp.port()) );
setPort(bdp.mLocalPort);
return rbdr;
}