core/restrict-netif: make restrict_network_interfaces_supported() return negative...
authorYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 1 Dec 2021 12:34:37 +0000 (21:34 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 1 Dec 2021 12:38:54 +0000 (21:38 +0900)
commit3de3fd3d16c03c7785befc142ac2909d516a3253
tree7d0475f121858a434be95267c1d483aac8b06da7
parent99f8a6d7f58c9edb00b3d214b685987444dc3931
core/restrict-netif: make restrict_network_interfaces_supported() return negative errno only when critical error

Other errors are handled as the functionality is not supported.

This also drops unnecessary SYNTHETIC_ERRNO().
src/core/restrict-ifaces.c