1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-22 17:35:35 +03:00

resolve: use bridge or bonding interfaces in degraded-carrier state

Fixes #12285.
This commit is contained in:
Yu Watanabe 2019-04-24 21:52:13 +02:00 committed by Lennart Poettering
parent 83a32ea7b0
commit aeafd03a2b

View File

@ -701,7 +701,7 @@ bool link_relevant(Link *l, int family, bool local_multicast) {
return false; return false;
(void) sd_network_link_get_operational_state(l->ifindex, &state); (void) sd_network_link_get_operational_state(l->ifindex, &state);
if (state && !STR_IN_SET(state, "unknown", "degraded", "routable")) if (state && !STR_IN_SET(state, "unknown", "degraded", "degraded-carrier", "routable"))
return false; return false;
LIST_FOREACH(addresses, a, l->addresses) LIST_FOREACH(addresses, a, l->addresses)