mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-11 08:40:19 +01:00
device: remove activated condition when the carrier was down
Call nm_device_update_dynamic_ip_setup every time the carrier was down or was seen down and is now up again, without checking if the state is NM_DEVICE_STATE_ACTIVATED. Change discussed in https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/2173
This commit is contained in:
parent
87453425ef
commit
c7fc8a4d09
1 changed files with 1 additions and 3 deletions
|
|
@ -7755,9 +7755,7 @@ device_link_changed(gpointer user_data)
|
|||
* tagged for carrier ignore) ensure that when the carrier appears we
|
||||
* renew DHCP leases and such.
|
||||
*/
|
||||
if (priv->state == NM_DEVICE_STATE_ACTIVATED) {
|
||||
nm_device_update_dynamic_ip_setup(self, "interface got carrier");
|
||||
}
|
||||
nm_device_update_dynamic_ip_setup(self, "interface got carrier");
|
||||
}
|
||||
|
||||
if (update_unmanaged_specs)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue