Commit c65520ea authored by Adam Greene's avatar Adam Greene
Browse files

Without this patch, masscan -iL <list> --ping doesn't work

This fixes it to behave as expected and perform a ping scan
of the ranges in the file. Before it seemed to think there was
not scan activity to perform.
parent ea6e732d
Loading
Loading
Loading
Loading
+2
Changes for src/main-conf.c: 2 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -1298,6 +1298,8 @@ masscan_set_parameter(struct Masscan *masscan,
        masscan->op = Operation_List_Adapters;
    } else if (EQUALS("includefile", name)) {
        ranges_from_file(&masscan->targets, value);
        if (masscan->op == 0)
            masscan->op = Operation_Scan;
    } else if (EQUALS("infinite", name)) {
        masscan->is_infinite = 1;
    } else if (EQUALS("interactive", name)) {