diff options
author | Jeff Garzik <jgarzik@exmulti.com> | 2012-05-12 18:59:31 -0700 |
---|---|---|
committer | Jeff Garzik <jgarzik@exmulti.com> | 2012-05-12 18:59:31 -0700 |
commit | 80af836ce0e17c3278f1e770b2f145e324897f58 (patch) | |
tree | f218d00f7d853a1fc669433f3c97767ab29f4b01 /src/net.cpp | |
parent | 6f7d45a3239519bb3a18893dea0875e80edc8c42 (diff) | |
parent | ea933b03b4d75a19a8d30a90796861721445a6b6 (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.cpp | 4 |
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 } |