diff options
| author | Michael Biebl <biebl@debian.org> | 2022-05-13 15:12:23 +0200 |
|---|---|---|
| committer | Michael Biebl <biebl@debian.org> | 2022-05-13 15:12:23 +0200 |
| commit | 84afb2ff5f7405ec3b98bbe627cd071105626087 (patch) | |
| tree | fc82d122eda3fede7ace3026a09af018e1af3174 /src/core/devices | |
| parent | d26308b229deb999da934f582aa8f3d5caaa63c0 (diff) | |
| parent | 87d61411bb3453587d21487da04fcf770fee7d55 (diff) | |
Update upstream source from tag 'upstream/1.38.0'
Update to upstream version '1.38.0' with Debian dir fb301733063d70b26e8eff5a4877a6a4f0bcddc2
Diffstat (limited to 'src/core/devices')
| -rw-r--r-- | src/core/devices/nm-device.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/devices/nm-device.c b/src/core/devices/nm-device.c index 1d9f235a..70b52b1a 100644 --- a/src/core/devices/nm-device.c +++ b/src/core/devices/nm-device.c @@ -6585,7 +6585,8 @@ device_link_changed(gpointer user_data) * so that it theoretically would also work for NMVpnConnection (although, * NMVpnConnection should become like a regular device, akin to NMDevicePpp). */ - if (!nm_device_sys_iface_state_is_external(self)) + if (priv->state >= NM_DEVICE_STATE_IP_CONFIG && priv->state <= NM_DEVICE_STATE_ACTIVATED + && !nm_device_sys_iface_state_is_external(self)) nm_device_l3cfg_commit(self, NM_L3_CFG_COMMIT_TYPE_REAPPLY, FALSE); } |