From 4e966a21b9ef4fb910a5bd1a5699d404a65cfe55 Mon Sep 17 00:00:00 2001 From: Michael Biebl Date: Thu, 24 Feb 2022 19:33:43 +0100 Subject: New upstream version 1.36.0 --- src/core/devices/nm-device.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/core/devices/nm-device.c') 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); -- cgit 1.3.0-6-gf8a5