networkd: link - fix IN_SET usage
This commit is contained in:
parent
b22d8a00f4
commit
77a008c090
|
@ -375,7 +375,7 @@ static int route_handler(sd_rtnl *rtnl, sd_rtnl_message *m, void *userdata) {
|
|||
|
||||
link->route_messages --;
|
||||
|
||||
if (IN_SET(LINK_STATE_FAILED, LINK_STATE_LINGER))
|
||||
if (IN_SET(link->state, LINK_STATE_FAILED, LINK_STATE_LINGER))
|
||||
return 1;
|
||||
|
||||
r = sd_rtnl_message_get_errno(m);
|
||||
|
|
Loading…
Reference in New Issue