network: ENOTSUP -> EOPNOTSUPP

This commit is contained in:
Frantisek Sumsal 2023-12-25 12:14:20 +01:00
parent f51aec74c9
commit 4b68f70829

View file

@ -608,7 +608,7 @@ static int ndisc_router_process_route(Link *link, sd_ndisc_router *rt) {
}
r = sd_ndisc_router_route_get_preference(rt, &preference);
if (r == -ENOTSUP) {
if (r == -EOPNOTSUPP) {
log_link_debug_errno(link, r, "Received route prefix with unsupported preference, ignoring: %m");
return 0;
}