We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f24a16 commit e1d17a0Copy full SHA for e1d17a0
src/subnetcalc.cc
@@ -145,7 +145,7 @@ void generateUniqueLocal(sockaddr_union& address,
145
exit(1);
146
}
147
148
-#if defined(__LINUX__) || defined(__linux__) || defined(__linux)
+#if defined(__LINUX__) || defined(__linux__) || defined(__linux) || defined(__FreeBSD__)
149
// ====== Read random number from random device ==========================
150
const char* randomFile = (highQualityRng == true) ? "/dev/random" : "/dev/urandom";
151
FILE* fh = fopen(randomFile, "r");
0 commit comments