use whitelist

This commit is contained in:
Zakir Durumeric 2013-10-15 10:22:23 -04:00
parent 48154339e0
commit d8a592a401
2 changed files with 1 additions and 1 deletions

View File

@ -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);

View File

@ -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) {