+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
if (r < 0)
return r;
- if (ifindex == 0 && (a->scope == RT_SCOPE_HOST || a->scope == RT_SCOPE_NOWHERE))
+ if (ifindex == 0 && IN_SET(a->scope, RT_SCOPE_HOST, RT_SCOPE_NOWHERE))
continue;
switch (family) {