summaryrefslogtreecommitdiff
path: root/libnet/src/libnet_prand.c
diff options
context:
space:
mode:
Diffstat (limited to 'libnet/src/libnet_prand.c')
-rw-r--r--libnet/src/libnet_prand.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/libnet/src/libnet_prand.c b/libnet/src/libnet_prand.c
index 6c44539..f37c435 100644
--- a/libnet/src/libnet_prand.c
+++ b/libnet/src/libnet_prand.c
@@ -62,7 +62,11 @@ libnet_seed_prand(libnet_t *l)
return (1);
}
-
+/* FIXME this code makes no sense. On unix we use random(), which
+ * is intended to have no security, and under win32 we use cryptographically
+ * strong entropy source? If necessary, why aren't we using /dev/random
+ * on unix? What's going on here?
+ */
uint32_t
libnet_get_prand(int mod)
{