Skip to content

Commit 34b92a5

Browse files
authored
Update netbase.cpp
1 parent f12198f commit 34b92a5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/netbase.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ static const int SOCKS5_RECV_TIMEOUT = 20 * 1000;
5252
enum Network ParseNetwork(std::string net) {
5353
boost::to_lower(net);
5454
if (net == "ipv4") return NET_IPV4;
55-
if (net == "ipv6") return NET_UNROUTABLE;
55+
if (net == "ipv6") return NET_IPV6;
5656
if (net == "tor" || net == "onion") return NET_TOR;
5757
return NET_UNROUTABLE;
5858
}

0 commit comments

Comments
 (0)