diff --git a/CHANGELOG.md b/CHANGELOG.md index 8ae796c35..52f94538d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ Bugfixes: * Fix a rare case that fails to detect terminal * Fix Muffin detection (@Zerogiven, #411) +* Fix IPv6 detection (Windows) Other: diff --git a/src/detection/localip/localip_windows.c b/src/detection/localip/localip_windows.c index e23a32fe8..4125542b4 100644 --- a/src/detection/localip/localip_windows.c +++ b/src/detection/localip/localip_windows.c @@ -77,7 +77,7 @@ const char* ffDetectLocalIps(const FFinstance* instance, FFlist* results) SOCKADDR_IN6* ipv6 = (SOCKADDR_IN6*) ifa->Address.lpSockaddr; char addressBuffer[INET6_ADDRSTRLEN]; inet_ntop(AF_INET6, &ipv6->sin6_addr, addressBuffer, INET6_ADDRSTRLEN); - addNewIp(results, name, addressBuffer, false); + addNewIp(results, name, addressBuffer, true); } } }