mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-27 09:20:08 +01:00
dhcp/systemd: actually hook up information-only mode
Fixes:89d1e46615Tested-by: Celti on IRC (cherry picked from commit8c8a577a30)
This commit is contained in:
parent
63ed5ab7b4
commit
50dc5fecab
1 changed files with 4 additions and 0 deletions
|
|
@ -857,6 +857,7 @@ dhcp6_event_cb (sd_dhcp6_client *client, int event, gpointer user_data)
|
|||
nm_dhcp_client_set_state (NM_DHCP_CLIENT (user_data), NM_DHCP_STATE_FAIL, NULL, NULL);
|
||||
break;
|
||||
case SD_DHCP6_CLIENT_EVENT_IP_ACQUIRE:
|
||||
case SD_DHCP6_CLIENT_EVENT_INFORMATION_REQUEST:
|
||||
bound6_handle (self);
|
||||
break;
|
||||
default:
|
||||
|
|
@ -893,6 +894,9 @@ ip6_start (NMDhcpClient *client,
|
|||
return FALSE;
|
||||
}
|
||||
|
||||
if (info_only)
|
||||
sd_dhcp6_client_set_information_request (priv->client6, 1);
|
||||
|
||||
/* NM stores the entire DUID which includes the uint16 "type", while systemd
|
||||
* wants the type passed separately from the following data.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue