Skip to content

Commit 46db057

Browse files
committed
Add version number into greeting message
1 parent b95c45e commit 46db057

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/goodbyedpi.c

+4-1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@
2121
// My mingw installation does not load inet_pton definition for some reason
2222
WINSOCK_API_LINKAGE INT WSAAPI inet_pton(INT Family, LPCSTR pStringBuf, PVOID pAddr);
2323

24+
#define GOODBYEDPI_VERSION "v0.1.5"
25+
2426
#define die() do { sleep(20); exit(EXIT_FAILURE); } while (0)
2527

2628
#define MAX_FILTERS 4
@@ -396,7 +398,8 @@ int main(int argc, char *argv[]) {
396398
filter_passive_string = strdup(FILTER_PASSIVE_STRING_TEMPLATE);
397399

398400
printf(
399-
"GoodbyeDPI: Passive DPI blocker and Active DPI circumvention utility\n"
401+
"GoodbyeDPI " GOODBYEDPI_VERSION
402+
": Passive DPI blocker and Active DPI circumvention utility\n"
400403
"https://github.com/ValdikSS/GoodbyeDPI\n\n"
401404
);
402405

0 commit comments

Comments
 (0)