Commit 32bd94b3 authored by Francisco Blas Izquierdo Riera's avatar Francisco Blas Izquierdo Riera
Browse files

Echo the number of retries

The number of retries is needed in the pause.conf file to ensure the seed holds with the scan values. This patch ensures the value is echoed out always.
parent ff34bb0f
Loading
Loading
Loading
Loading
+1
Changes for src/main-conf.c: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
@@ -365,6 +365,7 @@ masscan_echo(struct Masscan *masscan, FILE *fp)
    }

    fprintf(fp, "# TARGET SELECTION (IP, PORTS, EXCLUDES)\n");
    fprintf(fp, "retries = %u\n", masscan->retries);
    fprintf(fp, "ports = ");
    for (i=0; i<masscan->ports.count; i++) {
        struct Range range = masscan->ports.list[i];