mirror of
https://github.com/ValdikSS/GoodbyeDPI.git
synced 2024-11-25 11:30:11 +01:00
Exit when native fragmentation is enabled but http/https values are not set
This commit is contained in:
parent
f4edcf7b4f
commit
8911e459d8
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user