diff options
author | Thomas Haller <thaller@redhat.com> | 2018-02-14 15:26:40 +0100 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2018-02-15 16:08:00 +0100 |
commit | 7de078a3940ec31bca553aced4e5d56bdc5c661c (patch) | |
tree | bc45bc5b5a6361e58ed4a518db71d2ba873ba665 /src/dhcp/nm-dhcp-client.h | |
parent | 578c4af907cd1f5a93aacb024f983b7eb5b40362 (diff) | |
download | NetworkManager-7de078a3940ec31bca553aced4e5d56bdc5c661c.tar.gz |
dhcp: inject client-id in GBytes format from NMDevice to nm_dhcp_manager_start_ip4()
Convert the string representation of ipv4.dhcp-client-id property already in
NMDevice to a GBytes. Next, we will support more client ID modes, and we
will need the NMDevice context to generate the client id.
Diffstat (limited to 'src/dhcp/nm-dhcp-client.h')
-rw-r--r-- | src/dhcp/nm-dhcp-client.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/dhcp/nm-dhcp-client.h b/src/dhcp/nm-dhcp-client.h index 25c433b9c3..f389f534c2 100644 --- a/src/dhcp/nm-dhcp-client.h +++ b/src/dhcp/nm-dhcp-client.h @@ -144,7 +144,7 @@ gboolean nm_dhcp_client_get_info_only (NMDhcpClient *self); gboolean nm_dhcp_client_get_use_fqdn (NMDhcpClient *self); gboolean nm_dhcp_client_start_ip4 (NMDhcpClient *self, - const char *dhcp_client_id, + GBytes *client_id, const char *dhcp_anycast_addr, const char *hostname, const char *last_ip4_address); @@ -185,8 +185,6 @@ void nm_dhcp_client_set_client_id_bin (NMDhcpClient *self, guint8 type, const guint8 *client_id, gsize len); -void nm_dhcp_client_set_client_id_str (NMDhcpClient *self, - const char *dhcp_client_id); /***************************************************************************** * Client data |