]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
network DHCP4: Dont mislead the logs.
authorSusant Sahani <ssahani@vmware.com>
Mon, 16 Sep 2019 18:46:39 +0000 (20:46 +0200)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 16 Sep 2019 23:09:44 +0000 (08:09 +0900)
The debug log making sense to the end user as an error.

src/network/networkd-dhcp4.c

index 662770b50e30cac992856bd951476da8c0df2f73..c5644f844b805e585c7ab386286beb80a36e63fe 100644 (file)
@@ -198,7 +198,7 @@ static int link_set_dhcp_routes(Link *link) {
         if (n == -ENODATA)
                 log_link_debug_errno(link, n, "DHCP: No routes received from DHCP server: %m");
         else if (n < 0)
-                log_link_debug_errno(link, n, "DHCP error: could not get routes: %m");
+                log_link_debug_errno(link, n, "DHCP: could not get routes: %m");
 
         for (i = 0; i < n; i++) {
                 switch (sd_dhcp_route_get_option(static_routes[i])) {