1 parent ca253e5 commit 7b21119Copy full SHA for 7b21119
1 file changed
src/subnetcalc.cc
@@ -165,10 +165,9 @@ void generateUniqueLocal(sockaddr_union& address,
165
exit(1);
166
}
167
168
-#if defined(__linux__) || defined(__FreeBSD__) || defined(__APPLE__)
+#if 1
169
// ====== Read random number from random device ==========================
170
- const char* randomFile = highQualityRng ? "/dev/random" : "/dev/urandom";
171
-
+ const char* randomFile = highQualityRng ? "/dev/random" : "/dev/urandom";
172
std::ifstream randomStream(randomFile, std::ios::binary);
173
if(randomStream) {
174
std::cout << format(gettext("Generating Unique Local IPv6 address (using %s) ..."),
0 commit comments