Commit df2a7f5f authored by robertdavidgraham's avatar robertdavidgraham
Browse files

--seed time now default

parent 5f18a585
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -163,7 +163,8 @@ one port.
    Using a different seed will cause packets to be sent in a different
	random order. Instead of an integer, the string `time` can be specified,
	which seeds using the local timestamp, automatically generating a 
	differnet random order of scans.
	differnet random order of scans. If no seed specified, `time` is the
	default.

  * `--regress`: run a regression test, returns '0' on success and '1' on
    failure.
+1 −0
Original line number Diff line number Diff line
@@ -1114,6 +1114,7 @@ int main(int argc, char *argv[])
     * Initialize those defaults that aren't zero
     */
    memset(masscan, 0, sizeof(*masscan));
    masscan->seed = time(0); /* a predictable, but 'random' seed */
    masscan->wait = 10; /* how long to wait for responses when done */
    masscan->max_rate = 100.0; /* max rate = hundred packets-per-second */
    for (i=0; i<8; i++)