mirror of
https://github.com/ValdikSS/GoodbyeDPI
synced 2025-09-04 08:15:27 +00:00
Exit when native fragmentation is enabled but http/https values are not set
This commit is contained in:
@@ -933,6 +933,12 @@ int main(int argc, char *argv[]) {
|
|||||||
"completely.");
|
"completely.");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (do_native_frag && !(do_fragment_http || do_fragment_https)) {
|
||||||
|
puts("\nERROR: Native fragmentation is enabled but fragment sizes are not set.\n"
|
||||||
|
"Fragmentation has no effect.");
|
||||||
|
exit(EXIT_FAILURE);
|
||||||
|
}
|
||||||
|
|
||||||
puts("\nOpening filter");
|
puts("\nOpening filter");
|
||||||
finalize_filter_strings();
|
finalize_filter_strings();
|
||||||
filter_num = 0;
|
filter_num = 0;
|
||||||
|
Reference in New Issue
Block a user