Commit 0b3ba994 authored by Thomas Haller's avatar Thomas Haller

default-route-manager: simplify determining synced flag in _ipx_update_default_route()

No change in behavior at all. The same logic applies, but this should
be simpler to understand.
parent 6466b5da
......@@ -781,9 +781,8 @@ _ipx_update_default_route (const VTableIP *vtable, NMDefaultRouteManager *self,
default_route = &rt.rx;
never_default = TRUE;
synced = TRUE;
} else
synced = default_route && !is_assumed;
synced = !is_assumed;
} else {
NMConnection *connection = nm_active_connection_get_applied_connection ((NMActiveConnection *) vpn);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment