projects
/
oweals
/
tinc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed3a81a
)
Generate tinc-up.bat on windows
author
Fabian Maurer
<dark.shadow4@web.de>
Mon, 19 Nov 2018 21:11:10 +0000
(22:11 +0100)
committer
Guus Sliepen
<guus@tinc-vpn.org>
Fri, 30 Nov 2018 13:36:28 +0000
(14:36 +0100)
src/invitation.c
patch
|
blob
|
history
diff --git
a/src/invitation.c
b/src/invitation.c
index 35f236ed8dbb00cad9c0e9ca3b7494199667d1d5..29769686e96f1cf775929a9cc0ec7e85e690a024 100644
(file)
--- a/
src/invitation.c
+++ b/
src/invitation.c
@@
-987,7
+987,12
@@
ask_netname:
char filename2[PATH_MAX];
snprintf(filename, sizeof(filename), "%s" SLASH "tinc-up.invitation", confbase);
+
+#ifdef HAVE_MINGW
+ snprintf(filename2, sizeof(filename2), "%s" SLASH "tinc-up.bat", confbase);
+#else
snprintf(filename2, sizeof(filename2), "%s" SLASH "tinc-up", confbase);
+#endif
if(valid_tinc_up) {
if(tty) {