mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-27 02:53:10 +01:00
fix setOption() for IPV6 multicast compiling on gcc 4.6
This commit is contained in:
@@ -104,7 +104,7 @@ void MulticastSocket::setInterface(const NetworkInterface& interfc)
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
#if defined(POCO_HAVE_IPv6)
|
#if defined(POCO_HAVE_IPv6)
|
||||||
impl()->setOption(IPPROTO_IPV6, IPV6_MULTICAST_IF, interfc.index());
|
impl()->setOption(IPPROTO_IPV6, IPV6_MULTICAST_IF, UInt32(interfc.index()));
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user