From a19b1ac7c80e8d80ac1e06216b4310952f3ecde5 Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Thu, 20 May 2021 20:50:36 +0900 Subject: [PATCH] network: ndisc: update log message --- src/network/networkd-ndisc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/network/networkd-ndisc.c b/src/network/networkd-ndisc.c index 8aaa8eda4e5..9ce579bfe52 100644 --- a/src/network/networkd-ndisc.c +++ b/src/network/networkd-ndisc.c @@ -888,14 +888,14 @@ static int ndisc_router_process_route(Link *link, sd_ndisc_router *rt) { r = sd_ndisc_router_route_get_lifetime(rt, &lifetime); if (r < 0) - return log_link_error_errno(link, r, "Failed to get gateway lifetime from RA: %m"); + return log_link_error_errno(link, r, "Failed to get route lifetime from RA: %m"); if (lifetime == 0) return 0; r = sd_ndisc_router_route_get_address(rt, &dst); if (r < 0) - return log_link_error_errno(link, r, "Failed to get route address: %m"); + return log_link_error_errno(link, r, "Failed to get route destination address: %m"); if ((!set_isempty(link->network->ndisc_allow_listed_route_prefix) && !set_contains(link->network->ndisc_allow_listed_route_prefix, &dst)) || -- 2.47.3