mirror of
https://github.com/systemd/systemd.git
synced 2025-02-06 01:57:47 +03:00
network: add nexthop ID in debugging logs
This commit is contained in:
parent
324e342219
commit
e918b3c12a
@ -647,10 +647,11 @@ static void log_route_debug(const Route *route, const char *str, const Link *lin
|
||||
(void) route_protocol_full_to_string_alloc(route->protocol, &proto);
|
||||
|
||||
log_link_debug(link,
|
||||
"%s route: dst: %s, src: %s, gw: %s, prefsrc: %s, scope: %s, table: %s, proto: %s, type: %s",
|
||||
"%s route: dst: %s, src: %s, gw: %s, prefsrc: %s, scope: %s, table: %s, proto: %s, type: %s, nexthop: %"PRIu32,
|
||||
str, strna(dst), strna(src), strna(gw), strna(prefsrc),
|
||||
strna(scope), strna(table), strna(proto),
|
||||
strna(route_type_to_string(route->type)));
|
||||
strna(route_type_to_string(route->type)),
|
||||
route->nexthop_id);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user