summaryrefslogtreecommitdiffstats
path: root/src/network/networkd-route.c
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2021-04-18 18:23:54 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2021-04-21 06:42:45 +0200
commita8d21c91f9a6875981ba2a6f05c646c5aaa815d9 (patch)
tree62761ee897a30f8c2b53f0fe6e6495abefaa6dce /src/network/networkd-route.c
parentsd-netlink: add missing address types (diff)
downloadsystemd-a8d21c91f9a6875981ba2a6f05c646c5aaa815d9.tar.xz
systemd-a8d21c91f9a6875981ba2a6f05c646c5aaa815d9.zip
network: show route metric in debug log
Diffstat (limited to '')
-rw-r--r--src/network/networkd-route.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/network/networkd-route.c b/src/network/networkd-route.c
index a74541a6c9..9ed30d69ed 100644
--- a/src/network/networkd-route.c
+++ b/src/network/networkd-route.c
@@ -628,11 +628,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, nexthop: %"PRIu32,
+ "%s route: dst: %s, src: %s, gw: %s, prefsrc: %s, scope: %s, table: %s, proto: %s, type: %s, nexthop: %"PRIu32", priority: %"PRIu32,
str, strna(dst), strna(src), strna(gw), strna(prefsrc),
strna(scope), strna(table), strna(proto),
strna(route_type_to_string(route->type)),
- route->nexthop_id);
+ route->nexthop_id, route->priority);
}
}