Use ifconfig_header().

This commit is contained in:
Guus Sliepen 2016-04-17 14:36:29 +02:00
parent af9ee7ff00
commit 097c69fc6a

View file

@ -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.