mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-22 05:20:29 +01:00
route-manager: align trace logging statement
(cherry picked from commit 7bda970928)
This commit is contained in:
parent
150dd2adc6
commit
cf7529b66c
1 changed files with 6 additions and 6 deletions
|
|
@ -484,7 +484,7 @@ _vx_route_sync (const VTableIP *vtable, NMRouteManager *self, int ifindex, const
|
|||
ifindex, i, vtable->vt->route_to_string (VTABLE_ROUTE_INDEX (vtable, known_routes, i)));
|
||||
}
|
||||
for (i = 0; i < ipx_routes->index->len; i++)
|
||||
_LOGT (vtable->vt->addr_family, "%3d: STATE: has #%u - %s (%lld)",
|
||||
_LOGT (vtable->vt->addr_family, "%3d: STATE: has #%u - %s (%lld)",
|
||||
ifindex, i,
|
||||
vtable->vt->route_to_string (ipx_routes->index->entries[i]),
|
||||
(long long) g_array_index (ipx_routes->effective_metrics, gint64, i));
|
||||
|
|
@ -526,7 +526,7 @@ _vx_route_sync (const VTableIP *vtable, NMRouteManager *self, int ifindex, const
|
|||
cur_ipx_route->rx.ifindex = ifindex;
|
||||
cur_ipx_route->rx.metric = vtable->vt->metric_normalize (cur_ipx_route->rx.metric);
|
||||
ipx_routes_changed = TRUE;
|
||||
_LOGT (vtable->vt->addr_family, "%3d: STATE: update #%u - %s", ifindex, i_ipx_routes, vtable->vt->route_to_string (cur_ipx_route));
|
||||
_LOGT (vtable->vt->addr_family, "%3d: STATE: update #%u - %s", ifindex, i_ipx_routes, vtable->vt->route_to_string (cur_ipx_route));
|
||||
}
|
||||
} else if (cur_known_route) {
|
||||
g_assert (!cur_ipx_route || route_id_cmp_result > 0);
|
||||
|
|
@ -596,7 +596,7 @@ _vx_route_sync (const VTableIP *vtable, NMRouteManager *self, int ifindex, const
|
|||
for (i = 0; i < to_delete_indexes->len; i++) {
|
||||
guint idx = g_array_index (to_delete_indexes, guint, i);
|
||||
|
||||
_LOGT (vtable->vt->addr_family, "%3d: STATE: delete #%u - %s", ifindex, idx, vtable->vt->route_to_string (ipx_routes->index->entries[idx]));
|
||||
_LOGT (vtable->vt->addr_family, "%3d: STATE: delete #%u - %s", ifindex, idx, vtable->vt->route_to_string (ipx_routes->index->entries[idx]));
|
||||
g_array_index (to_delete_indexes, guint, i) = _route_index_reverse_idx (vtable, ipx_routes->index, idx, ipx_routes->entries);
|
||||
}
|
||||
g_array_sort (to_delete_indexes, (GCompareFunc) _sort_indexes_cmp);
|
||||
|
|
@ -620,7 +620,7 @@ _vx_route_sync (const VTableIP *vtable, NMRouteManager *self, int ifindex, const
|
|||
|
||||
g_array_index (ipx_routes->effective_metrics_reverse, gint64, j++) = -1;
|
||||
|
||||
_LOGT (vtable->vt->addr_family, "%3d: STATE: added #%u - %s", ifindex, ipx_routes->entries->len - 1, vtable->vt->route_to_string (ipx_route));
|
||||
_LOGT (vtable->vt->addr_family, "%3d: STATE: added #%u - %s", ifindex, ipx_routes->entries->len - 1, vtable->vt->route_to_string (ipx_route));
|
||||
}
|
||||
g_ptr_array_unref (to_add_routes);
|
||||
}
|
||||
|
|
@ -705,7 +705,7 @@ _vx_route_sync (const VTableIP *vtable, NMRouteManager *self, int ifindex, const
|
|||
break;
|
||||
}
|
||||
next:
|
||||
_LOGT (vtable->vt->addr_family, "%3d: new metric #%u - %s (%lld)",
|
||||
_LOGT (vtable->vt->addr_family, "%3d: new metric #%u - %s (%lld)",
|
||||
ifindex, i_ipx_routes,
|
||||
vtable->vt->route_to_string (cur_ipx_route),
|
||||
(long long) *p_effective_metric);
|
||||
|
|
@ -730,7 +730,7 @@ next:
|
|||
|
||||
g_assert (cur_plat_route->rx.ifindex == ifindex);
|
||||
|
||||
_LOGT (vtable->vt->addr_family, "%3d: platform rt #%u - %s", ifindex, i_plat_routes, vtable->vt->route_to_string (cur_plat_route));
|
||||
_LOGT (vtable->vt->addr_family, "%3d: platform rt #%u - %s", ifindex, i_plat_routes, vtable->vt->route_to_string (cur_plat_route));
|
||||
|
||||
/* skip over @cur_ipx_route that are ordered before @cur_plat_route */
|
||||
while ( cur_ipx_route
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue