summaryrefslogtreecommitdiff
path: root/src/network/networkd-link.c
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2014-09-08 13:50:52 +0200
committerTom Gundersen <teg@jklm.no>2014-09-08 15:09:07 +0200
commitadc5b2e2ebcb91ee18b6a32681b8ec1e52793473 (patch)
tree8a15c0a594c734d67fcd3dae14100cf3a35c6d4d /src/network/networkd-link.c
parentb70c73fcf1885b717b464353edecaf650a1e520a (diff)
sd-network: add _get_network_file api
Diffstat (limited to 'src/network/networkd-link.c')
-rw-r--r--src/network/networkd-link.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/network/networkd-link.c b/src/network/networkd-link.c
index a88cf48d9d..11ac1307d8 100644
--- a/src/network/networkd-link.c
+++ b/src/network/networkd-link.c
@@ -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) {