sd-dhcp-lease: expose load/save functions

Based on patch by Dan Williams.
This commit is contained in:
Tom Gundersen
2014-11-18 19:10:37 +01:00
parent d8d74ef06f
commit 1dc24d5f48
4 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -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;