Skip to content

Commit 19bb698

Browse files
committed
set default feed-frequency of 30s
1 parent 655038d commit 19bb698

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

software/infnoise.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ void term(int signum)
3131

3232
static void initOpts(struct opt_struct *opts) {
3333
opts->outputMultiplier = 0u;
34-
opts->feedFreq = 0u;
34+
opts->feedFreq = 30u;
3535
opts->daemon = false;
3636
opts->debug = false;
3737
opts->devRandom = false;
@@ -184,7 +184,7 @@ int main(int argc, char **argv) {
184184
" -r, --raw - do not whiten the output\n"
185185
" -m, --multiplier <value> - write 256 bits * value for each 512 bits written to\n"
186186
" the Keccak sponge. Default of 0 means write all the entropy.\n"
187-
" -f, --feed-frequency - feed interval for /dev/random\n"
187+
" -f, --feed-frequency - feed interval for /dev/random, in seconds (default: 30)\n"
188188
" -n, --no-output - do not write random output data\n"
189189
" -p, --pidfile <file> - write process ID to file\n"
190190
" -d, --daemon - run in the background\n"

0 commit comments

Comments
 (0)