From 87d61411bb3453587d21487da04fcf770fee7d55 Mon Sep 17 00:00:00 2001 From: Michael Biebl Date: Fri, 13 May 2022 15:11:15 +0200 Subject: New upstream version 1.38.0 --- src/core/devices/nm-device.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/core/devices') 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); } -- cgit 1.3.0-6-gf8a5