summaryrefslogtreecommitdiff
path: root/src/network
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2014-11-18 19:10:37 +0100
committerTom Gundersen <teg@jklm.no>2014-11-18 19:10:37 +0100
commit1dc24d5f48b384c48d5182964579758d7dcbdce2 (patch)
tree9630872e0041668aa89e5f36bf3f80c1da4765b6 /src/network
parentd8d74ef06fa0ccf39084a6177e70e4c2297cca57 (diff)
sd-dhcp-lease: expose load/save functions
Based on patch by Dan Williams.
Diffstat (limited to 'src/network')
-rw-r--r--src/network/networkd-link.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/networkd-link.c b/src/network/networkd-link.c
index 26ef0feaae..fcfbd3e123 100644
--- a/src/network/networkd-link.c
+++ b/src/network/networkd-link.c
@@ -1857,7 +1857,7 @@ int link_save(Link *link) {
if (link->dhcp_lease) {
assert(link->network);
- r = dhcp_lease_save(link->dhcp_lease, link->lease_file);
+ r = sd_dhcp_lease_save(link->dhcp_lease, link->lease_file);
if (r < 0)
goto fail;