summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2019-07-29 16:08:41 +0200
committerThomas Haller <thaller@redhat.com>2019-07-29 18:39:49 +0200
commit310ea1bc6a694452c2a6f518c065e64402446948 (patch)
treeafecaa22821b5277e0f90d5af30a819700ba136d
parent6b3783c77f8f0999405821d67e4797350cb891a9 (diff)
downloadNetworkManager-310ea1bc6a694452c2a6f518c065e64402446948.tar.gz
device: fix reapply for policy routing rules
We need to re-sync the rules.
-rw-r--r--src/devices/nm-device.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/devices/nm-device.c b/src/devices/nm-device.c
index da34602427..450c4938f4 100644
--- a/src/devices/nm-device.c
+++ b/src/devices/nm-device.c
@@ -11550,6 +11550,8 @@ check_and_reapply_connection (NMDevice *self,
nm_device_reactivate_ip4_config (self, s_ip4_old, s_ip4_new);
nm_device_reactivate_ip6_config (self, s_ip6_old, s_ip6_new);
+ _routing_rules_sync (self, NM_TERNARY_TRUE);
+
reactivate_proxy_config (self);
return TRUE;