use whitelist
This commit is contained in:
parent
48154339e0
commit
d8a592a401
@ -133,7 +133,6 @@ void packet_cb(u_char __attribute__((__unused__)) *user,
|
||||
if (!evaluate_expression(zconf.filter.expression, fs)) {
|
||||
goto cleanup;
|
||||
}
|
||||
|
||||
o = translate_fieldset(fs, &zconf.fsconf.translation);
|
||||
if (zconf.output_module && zconf.output_module->process_ip) {
|
||||
zconf.output_module->process_ip(o);
|
||||
|
@ -555,6 +555,7 @@ int main(int argc, char *argv[])
|
||||
" trying to scan local networks, you can change the default blacklist by "
|
||||
"editing the default ZMap configuration at /etc/zmap/zmap.conf.");
|
||||
}
|
||||
SET_IF_GIVEN(zconf.whitelist_filename, whitelist_file);
|
||||
|
||||
if (zconf.probe_module->port_args) {
|
||||
if (args.source_port_given) {
|
||||
|
Loading…
Reference in New Issue
Block a user