]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
network: ndisc: update log message 19703/head
authorYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 20 May 2021 11:50:36 +0000 (20:50 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 27 May 2021 07:33:36 +0000 (16:33 +0900)
src/network/networkd-ndisc.c

index 8aaa8eda4e5f4e32239dc563d38d3a14b484baec..9ce579bfe5271141d91538f4465996b3802d8fe6 100644 (file)
@@ -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)) ||