mirror of
https://github.com/pocoproject/poco.git
synced 2025-11-28 04:24:15 +01:00
Merge pull request #576 from gevpa/bug_ipv6_scopeId
Fix parsing issue with IPv6 format in Poco::Net::IPAddress
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user