mirror of
https://github.com/wownero/wownero.git
synced 2026-10-21 09:28:33 +02:00
net/socks: fix misleading error code
This commit is contained in:
+1
-1
@@ -608,7 +608,7 @@ namespace socks
|
||||
bytes = sizeof(v5_response_ipv6);
|
||||
else
|
||||
{
|
||||
self.done(socks::error::unexpected_version, self_);
|
||||
self.done(socks::error::address_type_not_supported, self_);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user