mirror of
https://github.com/pocoproject/poco.git
synced 2024-12-13 18:45:10 +01:00
Fix parsing issue with IPv6 format: propogating scopeId from IPv6AddressImpl to IPAddress.
This commit is contained in:
parent
a6fcc477bd
commit
49e856aa89
@ -97,7 +97,7 @@ IPAddress::IPAddress(const std::string& addr)
|
||||
IPv6AddressImpl addr6(IPv6AddressImpl::parse(addr));
|
||||
if (addr6 != IPv6AddressImpl())
|
||||
{
|
||||
newIPv6(addr6.addr());
|
||||
newIPv6(addr6.addr(), addr6.scope());
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user