From: Yu Watanabe Date: Mon, 18 Nov 2024 04:32:51 +0000 (+0900) Subject: network/ndisc: sd_ndisc_router_route_get_preference() does not return -EOPNOTSUPP... X-Git-Tag: v257-rc3~77^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cb3243460b8efab09f0ae5677df4b0342e1dbcae;p=thirdparty%2Fsystemd.git network/ndisc: sd_ndisc_router_route_get_preference() does not return -EOPNOTSUPP anymore --- diff --git a/src/network/networkd-ndisc.c b/src/network/networkd-ndisc.c index d46fc4a4e54..3792b98e008 100644 --- a/src/network/networkd-ndisc.c +++ b/src/network/networkd-ndisc.c @@ -1712,10 +1712,6 @@ static int ndisc_router_process_route(Link *link, sd_ndisc_router *rt) { } r = sd_ndisc_router_route_get_preference(rt, &preference); - if (r == -EOPNOTSUPP) { - log_link_debug_errno(link, r, "Received route prefix with unsupported preference, ignoring: %m"); - return 0; - } if (r < 0) return log_link_warning_errno(link, r, "Failed to get router preference from RA: %m");