Skip to content

Commit

Permalink
Add version number into greeting message
Browse files Browse the repository at this point in the history
  • Loading branch information
ValdikSS committed Jan 3, 2019
1 parent b95c45e commit 46db057
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/goodbyedpi.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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"
);

Expand Down

0 comments on commit 46db057

Please sign in to comment.