1
0
mirror of https://github.com/systemd/systemd.git synced 2025-03-31 14:50:15 +03:00

network DHCP4: Dont mislead the logs.

The debug log making sense to the end user as an error.
This commit is contained in:
Susant Sahani 2019-09-16 20:46:39 +02:00 committed by Yu Watanabe
parent d34a58222d
commit 61cda4d796

View 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])) {