diff options
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 f12afb78e6..56610acf3f 100644 --- a/src/net.cpp +++ b/src/net.cpp @@ -1796,7 +1796,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) @@ -1804,7 +1804,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 } |