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) {
5555std::string GetNetworkName (enum Network net)
5656{
5757 switch (net) {
58- case NET_UNROUTABLE: return " unroutable " ;
58+ case NET_UNROUTABLE: return " not_publicly_routable " ;
5959 case NET_IPV4: return " ipv4" ;
6060 case NET_IPV6: return " ipv6" ;
6161 case NET_ONION: return " onion" ;
Original file line number Diff line number Diff line change 4444
4545RANGE_BEGIN = PORT_MIN + 2 * PORT_RANGE # Start after p2p and rpc ports
4646
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 "
4949NET_IPV4 = "ipv4"
5050NET_IPV6 = "ipv6"
5151NET_ONION = "onion"
You can’t perform that action at this time.
0 commit comments