From 46db0576625f4dcd01b4c94f7d617185a84d71c5 Mon Sep 17 00:00:00 2001 From: ValdikSS Date: Thu, 3 Jan 2019 16:05:26 +0300 Subject: [PATCH] Add version number into greeting message --- src/goodbyedpi.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/goodbyedpi.c b/src/goodbyedpi.c index 25cd118..9d351c7 100644 --- a/src/goodbyedpi.c +++ b/src/goodbyedpi.c @@ -21,6 +21,8 @@ // My mingw installation does not load inet_pton definition for some reason WINSOCK_API_LINKAGE INT WSAAPI inet_pton(INT Family, LPCSTR pStringBuf, PVOID pAddr); +#define GOODBYEDPI_VERSION "v0.1.5" + #define die() do { sleep(20); exit(EXIT_FAILURE); } while (0) #define MAX_FILTERS 4 @@ -396,7 +398,8 @@ int main(int argc, char *argv[]) { filter_passive_string = strdup(FILTER_PASSIVE_STRING_TEMPLATE); printf( - "GoodbyeDPI: Passive DPI blocker and Active DPI circumvention utility\n" + "GoodbyeDPI " GOODBYEDPI_VERSION + ": Passive DPI blocker and Active DPI circumvention utility\n" "https://github.com/ValdikSS/GoodbyeDPI\n\n" );