mirror of
https://github.com/ValdikSS/GoodbyeDPI.git
synced 2025-12-17 21:04:36 +03:00
Fix fox 16f2a8fb81
This commit is contained in:
@@ -4,6 +4,7 @@
|
|||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
#include <stdbool.h>
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
#include <signal.h>
|
#include <signal.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
@@ -941,7 +942,7 @@ int main(int argc, char *argv[]) {
|
|||||||
break;
|
break;
|
||||||
case '?': // --debug-exit
|
case '?': // --debug-exit
|
||||||
debug_exit = true;
|
debug_exit = true;
|
||||||
break
|
break;
|
||||||
default:
|
default:
|
||||||
puts("Usage: goodbyedpi.exe [OPTION...]\n"
|
puts("Usage: goodbyedpi.exe [OPTION...]\n"
|
||||||
" -p block passive DPI\n"
|
" -p block passive DPI\n"
|
||||||
@@ -1122,7 +1123,7 @@ int main(int argc, char *argv[]) {
|
|||||||
die();
|
die();
|
||||||
}
|
}
|
||||||
if (debug_exit) {
|
if (debug_exit) {
|
||||||
exit(EXIT_SUCCESS);
|
exit(EXIT_SUCCESS);
|
||||||
}
|
}
|
||||||
printf("Filter activated, GoodbyeDPI is now running!\n");
|
printf("Filter activated, GoodbyeDPI is now running!\n");
|
||||||
signal(SIGINT, sigint_handler);
|
signal(SIGINT, sigint_handler);
|
||||||
|
|||||||
Reference in New Issue
Block a user