diff options
author | Pavel Šimerda <psimerda@redhat.com> | 2012-08-22 22:39:49 +0200 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2012-11-16 15:27:22 -0600 |
commit | 20d4125cfc4cd4c6b07fea37d187a7cbfcb874c9 (patch) | |
tree | a97c67d6621c4e4a9d25418b7ef8c3ccb20bb3c4 /src/dhcp-manager/nm-dhcp-dhcpcd.h | |
parent | ffb60cdba45b344c189449751f387729a343bee0 (diff) | |
download | NetworkManager-20d4125cfc4cd4c6b07fea37d187a7cbfcb874c9.tar.gz |
dhcp: store NetworkManager-specific dhclient leases in /var/lib/NetworkManager/
DHCP lease file names are built by NetworkManager and contain connection UUID
which makes them NM-specific. Their new location belongs to NetworkManager and
doesn't have to be guessed. With no guessing, we don't need distribution-specific
conditionals.
Note: This change may require modifications to the selinux policy. But after all
these files actually belong to NetworkManager as well as the instance of dhclient
that uses them.
Diffstat (limited to 'src/dhcp-manager/nm-dhcp-dhcpcd.h')
-rw-r--r-- | src/dhcp-manager/nm-dhcp-dhcpcd.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dhcp-manager/nm-dhcp-dhcpcd.h b/src/dhcp-manager/nm-dhcp-dhcpcd.h index 4ddc1089a6..c90dcb74d8 100644 --- a/src/dhcp-manager/nm-dhcp-dhcpcd.h +++ b/src/dhcp-manager/nm-dhcp-dhcpcd.h @@ -41,7 +41,7 @@ typedef struct { GType nm_dhcp_dhcpcd_get_type (void); -GSList *nm_dhcp_dhcpcd_get_lease_config (const char *iface, const char *uuid); +GSList *nm_dhcp_dhcpcd_get_lease_config (const char *iface, const char *uuid, gboolean ipv6); const char *nm_dhcp_dhcpcd_get_path (const char *try_first); |