From 097c69fc6a223213302fe9ffbe00a4c05357e660 Mon Sep 17 00:00:00 2001 From: Guus Sliepen Date: Sun, 17 Apr 2016 14:36:29 +0200 Subject: [PATCH] Use ifconfig_header(). --- src/invitation.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/invitation.c b/src/invitation.c index 07594ff..35e8e49 100644 --- 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. -- 2.25.1