Remove SetupResult::parse_only field

For parity with other setup() behavior to simply call exit() directly.
This commit is contained in:
Jon Siwek 2020-12-13 13:33:50 -08:00
parent 2219a03344
commit 09d12c3716
3 changed files with 1 additions and 5 deletions

View file

@ -787,7 +787,7 @@ SetupResult setup(int argc, char** argv, Options* zopts)
if ( analysis_options.report_recursive )
// This option is report-and-exit.
return {0, std::move(options), true};
exit(0);
if ( dns_type != DNS_PRIME )
run_state::detail::init_run(options.interface, options.pcap_file, options.pcap_output_file, options.use_watchdog);