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:
parent
d34a58222d
commit
61cda4d796
@ -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])) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user