networkd: link - fix IN_SET usage

This commit is contained in:
Tom Gundersen 2014-08-06 15:54:25 +02:00
parent b22d8a00f4
commit 77a008c090
1 changed files with 1 additions and 1 deletions

View File

@ -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);