aboutsummaryrefslogtreecommitdiff
path: root/src/net.cpp
diff options
context:
space:
mode:
authorJeff Garzik <jgarzik@exmulti.com>2012-05-12 18:59:31 -0700
committerJeff Garzik <jgarzik@exmulti.com>2012-05-12 18:59:31 -0700
commit80af836ce0e17c3278f1e770b2f145e324897f58 (patch)
treef218d00f7d853a1fc669433f3c97767ab29f4b01 /src/net.cpp
parent6f7d45a3239519bb3a18893dea0875e80edc8c42 (diff)
parentea933b03b4d75a19a8d30a90796861721445a6b6 (diff)
Merge pull request #1277 from Diapolo/IPv6_IPv4_strings
use "IPv6" and "IPv4" in strings as these are the official spellings
Diffstat (limited to 'src/net.cpp')
-rw-r--r--src/net.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net.cpp b/src/net.cpp
index 951595e680..c8cb17091f 100644
--- a/src/net.cpp
+++ b/src/net.cpp
@@ -1803,7 +1803,7 @@ void static Discover()
struct sockaddr_in* s4 = (struct sockaddr_in*)(ifa->ifa_addr);
CNetAddr addr(s4->sin_addr);
if (AddLocal(addr, LOCAL_IF))
- printf("ipv4 %s: %s\n", ifa->ifa_name, addr.ToString().c_str());
+ printf("IPv4 %s: %s\n", ifa->ifa_name, addr.ToString().c_str());
}
#ifdef USE_IPV6
else if (ifa->ifa_addr->sa_family == AF_INET6)
@@ -1811,7 +1811,7 @@ void static Discover()
struct sockaddr_in6* s6 = (struct sockaddr_in6*)(ifa->ifa_addr);
CNetAddr addr(s6->sin6_addr);
if (AddLocal(addr, LOCAL_IF))
- printf("ipv6 %s: %s\n", ifa->ifa_name, addr.ToString().c_str());
+ printf("IPv6 %s: %s\n", ifa->ifa_name, addr.ToString().c_str());
}
#endif
}