diff --git a/src/iodined.c b/src/iodined.c index 70ad089..ce9b5c7 100644 --- a/src/iodined.c +++ b/src/iodined.c @@ -26,6 +26,7 @@ #include #include #include +#include #include #include #include @@ -290,6 +291,7 @@ main(int argc, char **argv) outpacket.len = 0; q.id = 0; memset(password, 0, 33); + srand(time(NULL)); while ((choice = getopt(argc, argv, "vfhu:t:d:m:l:p:P:")) != -1) { switch(choice) {