mirror of
https://github.com/ValdikSS/GoodbyeDPI.git
synced 2024-11-22 10:05:44 +01:00
Use EXIT_SUCCESS and EXIT_FAILURE
This commit is contained in:
parent
cc0e55812e
commit
c43d5477b5
@ -12,7 +12,7 @@
|
||||
|
||||
#define die() do { printf("Something went wrong!\n" \
|
||||
"Make sure you're running this program with administrator privileges\n"); \
|
||||
sleep(10); exit(1); } while (0)
|
||||
sleep(10); exit(EXIT_FAILURE); } while (0)
|
||||
|
||||
#define MAX_FILTERS 4
|
||||
#define MAX_PACKET_SIZE 1516
|
||||
@ -66,7 +66,7 @@ static void deinit_all() {
|
||||
|
||||
static void sigint_handler(int sig) {
|
||||
deinit_all();
|
||||
exit(0);
|
||||
exit(EXIT_SUCCESS);
|
||||
}
|
||||
|
||||
static int find_passivedpi_redirect(char *pktdata) {
|
||||
|
Loading…
Reference in New Issue
Block a user