File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ enum Network ParseNetwork(const std::string& net_in) {
55
55
std::string GetNetworkName (enum Network net)
56
56
{
57
57
switch (net) {
58
- case NET_UNROUTABLE: return " unroutable " ;
58
+ case NET_UNROUTABLE: return " not_publicly_routable " ;
59
59
case NET_IPV4: return " ipv4" ;
60
60
case NET_IPV6: return " ipv6" ;
61
61
case NET_ONION: return " onion" ;
Original file line number Diff line number Diff line change 44
44
45
45
RANGE_BEGIN = PORT_MIN + 2 * PORT_RANGE # Start after p2p and rpc ports
46
46
47
- # Networks returned by RPC getpeerinfo, defined in src/netbase.cpp::GetNetworkName()
48
- NET_UNROUTABLE = "unroutable "
47
+ # Networks returned by RPC getpeerinfo.
48
+ NET_UNROUTABLE = "not_publicly_routable "
49
49
NET_IPV4 = "ipv4"
50
50
NET_IPV6 = "ipv6"
51
51
NET_ONION = "onion"
You can’t perform that action at this time.
0 commit comments