]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
network: mention that errors will be ignored
authorYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 12 Nov 2021 05:35:32 +0000 (14:35 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 12 Nov 2021 23:16:06 +0000 (08:16 +0900)
src/network/networkd-route.c

index 9ee89a671f55132510a457239f4c4fa4b1bed193..1df67b160126d7ade61b106362ae2d4a789cb12b 100644 (file)
@@ -1920,7 +1920,7 @@ int manager_rtnl_process_route(sd_netlink *rtnl, sd_netlink_message *message, Ma
 
         r = sd_rtnl_message_route_get_protocol(message, &tmp->protocol);
         if (r < 0) {
-                log_warning_errno(r, "rtnl: received route message without route protocol: %m");
+                log_warning_errno(r, "rtnl: received route message without route protocol, ignoring: %m");
                 return 0;
         }
 
@@ -2012,7 +2012,7 @@ int manager_rtnl_process_route(sd_netlink *rtnl, sd_netlink_message *message, Ma
 
         r = sd_netlink_message_enter_container(message, RTA_METRICS);
         if (r < 0 && r != -ENODATA) {
-                log_link_error_errno(link, r, "rtnl: Could not enter RTA_METRICS container: %m");
+                log_link_error_errno(link, r, "rtnl: Could not enter RTA_METRICS container, ignoring: %m");
                 return 0;
         }
         if (r >= 0) {
@@ -2036,7 +2036,7 @@ int manager_rtnl_process_route(sd_netlink *rtnl, sd_netlink_message *message, Ma
 
                 r = sd_netlink_message_exit_container(message);
                 if (r < 0) {
-                        log_link_error_errno(link, r, "rtnl: Could not exit from RTA_METRICS container: %m");
+                        log_link_error_errno(link, r, "rtnl: Could not exit from RTA_METRICS container, ignoring: %m");
                         return 0;
                 }
         }