diff --git a/src/network/networkd-dhcp4.c b/src/network/networkd-dhcp4.c index c6fac85292f..1c7f4127eb0 100644 --- a/src/network/networkd-dhcp4.c +++ b/src/network/networkd-dhcp4.c @@ -358,7 +358,7 @@ static int link_set_dhcp_static_routes(Link *link, struct in_addr *ret_default_g /* if the DHCP server returns both a Classless Static Routes option and a Static Routes option, * the DHCP client MUST ignore the Static Routes option. */ if (classless_route && static_route) - log_link_warning(link, "Classless static routes received from DHCP server: ignoring static-route option"); + log_link_debug(link, "Classless static routes received from DHCP server: ignoring static-route option"); r = route_new(&route); if (r < 0) diff --git a/src/network/networkd-link.c b/src/network/networkd-link.c index 63f31b72010..e851e9e51b1 100644 --- a/src/network/networkd-link.c +++ b/src/network/networkd-link.c @@ -2450,7 +2450,7 @@ static int link_add(Manager *m, sd_netlink_message *message, Link **ret) { sprintf(ifindex_str, "n%d", link->ifindex); r = sd_device_new_from_device_id(&device, ifindex_str); if (r < 0) { - log_link_warning_errno(link, r, "Could not find device, waiting for device initialization: %m"); + log_link_debug_errno(link, r, "Could not find device, waiting for device initialization: %m"); return 0; } diff --git a/src/network/networkd-ndisc.c b/src/network/networkd-ndisc.c index af2d6a3ef7b..988c673255e 100644 --- a/src/network/networkd-ndisc.c +++ b/src/network/networkd-ndisc.c @@ -558,7 +558,7 @@ static int ndisc_router_process_default(Link *link, sd_ndisc_router *rt) { if (!route_gw->protocol_set) route_gw->protocol = RTPROT_RA; if (!route_gw->pref_set) - route->pref = preference; + route_gw->pref = preference; route_gw->lifetime = usec_add(time_now, lifetime * USEC_PER_SEC); if (route_gw->mtu == 0) route_gw->mtu = mtu; diff --git a/src/network/networkd-neighbor.c b/src/network/networkd-neighbor.c index ef09665a854..205351c2a2d 100644 --- a/src/network/networkd-neighbor.c +++ b/src/network/networkd-neighbor.c @@ -500,10 +500,9 @@ int manager_rtnl_process_neighbor(sd_netlink *rtnl, sd_netlink_message *message, r = link_get(m, ifindex, &link); if (r < 0 || !link) { - /* when enumerating we might be out of sync, but we will get the neighbor again, so just - * ignore it */ - if (!m->enumerating) - log_warning("rtnl: received neighbor for link '%d' we don't know about, ignoring.", ifindex); + /* when enumerating we might be out of sync, but we will get the neighbor again. Also, + * kernel sends messages about neighbors after a link is removed. So, just ignore it. */ + log_debug("rtnl: received neighbor for link '%d' we don't know about, ignoring.", ifindex); return 0; }