net: update NET_UNROUTABLE to not_publicly_routable in GetNetworkName()

This commit is contained in:
Jon Atack
2021-01-19 15:35:56 +01:00
parent 2c0fc856a6
commit b45eae4d53
2 changed files with 3 additions and 3 deletions

View File

@@ -55,7 +55,7 @@ enum Network ParseNetwork(const std::string& net_in) {
std::string GetNetworkName(enum Network net)
{
switch (net) {
case NET_UNROUTABLE: return "unroutable";
case NET_UNROUTABLE: return "not_publicly_routable";
case NET_IPV4: return "ipv4";
case NET_IPV6: return "ipv6";
case NET_ONION: return "onion";