mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-06 05:00:15 +01:00
device: fix handling if DHCP hostname for configure-and-quit
Fixes: 5149fd120d
This commit is contained in:
parent
28983b705c
commit
1dae47e9cc
1 changed files with 1 additions and 1 deletions
|
|
@ -7602,7 +7602,7 @@ nm_device_spawn_iface_helper (NMDevice *self)
|
|||
}
|
||||
|
||||
hostname = nm_dhcp_client_get_hostname (priv->dhcp4_client);
|
||||
if (client_id) {
|
||||
if (hostname) {
|
||||
g_ptr_array_add (argv, g_strdup ("--dhcp4-hostname"));
|
||||
g_ptr_array_add (argv, g_strdup (hostname));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue