projects
/
tinc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af9ee7f
)
Use ifconfig_header().
author
Guus Sliepen
<guus@tinc-vpn.org>
Sun, 17 Apr 2016 12:36:29 +0000
(14:36 +0200)
committer
Guus Sliepen
<guus@tinc-vpn.org>
Sun, 17 Apr 2016 12:36:29 +0000
(14:36 +0200)
src/invitation.c
patch
|
blob
|
history
diff --git
a/src/invitation.c
b/src/invitation.c
index
07594ff
..
35e8e49
100644
(file)
--- a/
src/invitation.c
+++ b/
src/invitation.c
@@
-613,8
+613,7
@@
make_names:
return false;
}
- fprintf(fup, "#!/bin/sh\n");
- long fuppos = ftell(fup);
+ ifconfig_header(fup);
// Filter first chunk on approved keywords, split between tinc.conf and hosts/Name
// Generate a tinc-up script from Ifconfig and Route keywords.