summaryrefslogtreecommitdiff
path: root/src/dhcp/nm-dhcp-client.h
diff options
context:
space:
mode:
authorFrancesco Giudici <fgiudici@redhat.com>2018-06-18 16:37:31 +0200
committerFrancesco Giudici <fgiudici@redhat.com>2018-06-20 11:39:27 +0200
commit5da2325af6730ac3a35fc64b6575229558899882 (patch)
tree182d5b25c56dcd88a7c999595ca0e6ac8a561b4f /src/dhcp/nm-dhcp-client.h
parentf560973ab13f1d08f9d66d2d4a5cac7172474a47 (diff)
dhcp: look for DUID in both private and global DHCP client lease files
Option to check just in NM private dhcp client specific lease files has been dropped: either get DUID from specific DHCP plugin or just use the provided one. This reverts commit f054c3fcaadb39c6597d9d9e4ed94b5d4fc29508. (cherry picked from commit 08116409f3f9bbb44115aa53fe27d9624731fa73)
Diffstat (limited to 'src/dhcp/nm-dhcp-client.h')
-rw-r--r--src/dhcp/nm-dhcp-client.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/dhcp/nm-dhcp-client.h b/src/dhcp/nm-dhcp-client.h
index 8f51d7cea..f3d0b7d18 100644
--- a/src/dhcp/nm-dhcp-client.h
+++ b/src/dhcp/nm-dhcp-client.h
@@ -96,15 +96,13 @@ typedef struct {
/**
* get_duid:
* @self: the #NMDhcpClient
- * @global: if set to #true, the duid should be searched also in the
- * DHCP client's system-wide persistent configuration.
*
* Attempts to find an existing DHCPv6 DUID for this client in the DHCP
* client's persistent configuration. Returned DUID should be the binary
* representation of the DUID. If no DUID is found, %NULL should be
* returned.
*/
- GBytes *(*get_duid) (NMDhcpClient *self, gboolean global);
+ GBytes *(*get_duid) (NMDhcpClient *self);
/* Signals */
void (*state_changed) (NMDhcpClient *self,