Skip to content

network: reapply connection on device

Changing an active connection applies the changes onto the NetworkManager connection, but not on the device. This is because NetworkManager clones the connection when it is applied on a device. This behavior is expected and documented in the NetworkManager documentation [1]. To effectively apply the connection changes onto a device, a reapply operation must be performed. This will make NetworkManager apply the new connection onto the active device without having to disable and re-enable the device.

Perform this reapply operation when the Apply button is pressed in the Connection Editor so the changes effectively propagate to the network device.

[1] https://networkmanager.dev/docs/api/1.32.10/gdbus-org.freedesktop.NetworkManager.Device.html#gdbus-method-org-freedesktop-NetworkManager-Device.Reapply

Fixes #2316 (closed)

Merge request reports