mirror of
https://github.com/systemd/systemd
synced 2024-07-22 10:44:58 +00:00
network: ENOTSUP -> EOPNOTSUPP
This commit is contained in:
parent
f51aec74c9
commit
4b68f70829
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue