diff options
| author | Jeremy Bicha <jeremy.bicha@canonical.com> | 2022-02-24 14:53:07 -0500 |
|---|---|---|
| committer | Jeremy Bicha <jeremy.bicha@canonical.com> | 2022-02-24 14:53:07 -0500 |
| commit | a62a36104338c17e7a957e13703c841a1dd5ceca (patch) | |
| tree | bbebe700ea2b47cf6b6b515ab2ab3cd980b23926 /src/core/devices/nm-device.c | |
| parent | 4d660d8947426e043acb5ff012b929c9ef538839 (diff) | |
| parent | 1b1ea5e7932eb8b9491beb22f69844697751f1ce (diff) | |
Merge tag 'debian/1.36.0-1' into ubuntu/master
network-manager Debian release 1.36.0-1
Diffstat (limited to 'src/core/devices/nm-device.c')
| -rw-r--r-- | src/core/devices/nm-device.c | 3 |
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); |