about summary refs log tree commit diff
path: root/src/core/devices/nm-device.c
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2022-02-24 19:34:49 +0100
committerMichael Biebl <biebl@debian.org>2022-02-24 19:34:49 +0100
commita292723421a32ad988f1c84b82586b2097b523f5 (patch)
tree9d853b1b755ad3daf6e898191d44e88cf846a002 /src/core/devices/nm-device.c
parent6dff5938b0e45d461d0351da304a68916f2e9a2b (diff)
parent4e966a21b9ef4fb910a5bd1a5699d404a65cfe55 (diff)
Update upstream source from tag 'upstream/1.36.0'
Update to upstream version '1.36.0'
with Debian dir 9690f768af143e49a0f5f7ddb44ec18e41634ca2
Diffstat (limited to 'src/core/devices/nm-device.c')
-rw-r--r--src/core/devices/nm-device.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/devices/nm-device.c b/src/core/devices/nm-device.c
index aed580ab..35360cee 100644
--- a/src/core/devices/nm-device.c
+++ b/src/core/devices/nm-device.c
@@ -15076,8 +15076,7 @@ nm_device_cleanup(NMDevice *self, NMDeviceStateReason reason, CleanupType cleanu
         if (ifindex > 0) {
             NMPlatform *platform = nm_device_get_platform(self);
 
-            nm_platform_ip_route_flush(platform, AF_UNSPEC, ifindex);
-            nm_platform_ip_address_flush(platform, AF_UNSPEC, ifindex);
+            nm_device_l3cfg_commit(self, NM_L3_CFG_COMMIT_TYPE_REAPPLY, TRUE);
 
             if (nm_device_get_applied_setting(self, NM_TYPE_SETTING_TC_CONFIG)) {
                 nm_platform_tc_sync(platform, ifindex, NULL, NULL);