diff options
author | Tom Gundersen <teg@jklm.no> | 2014-08-06 15:54:25 +0200 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2014-08-12 20:42:59 +0200 |
commit | 77a008c090faf4a4fbeb26d0437913364afee258 (patch) | |
tree | a1c9802d93890bb3153af1dcda34d6e3140cd945 | |
parent | b22d8a00f48f3c5fc4510b4acd3e1a43e731e592 (diff) |
networkd: link - fix IN_SET usage
-rw-r--r-- | src/network/networkd-link.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/networkd-link.c b/src/network/networkd-link.c index 3bef1a57a6..36057458ab 100644 --- a/src/network/networkd-link.c +++ b/src/network/networkd-link.c @@ -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); |