chiark / gitweb /
sd-network: add _get_network_file api
[elogind.git] / src / network / networkd-link.c
index a88cf48..11ac130 100644 (file)
@@ -1785,6 +1785,8 @@ int link_save(Link *link) {
                 char **address, **domain;
                 bool space;
 
+                fprintf(f, "NETWORK_FILE=%s\n", link->network->filename);
+
                 fputs("DNS=", f);
                 space = false;
                 STRV_FOREACH(address, link->network->dns) {