summaryrefslogtreecommitdiff
path: root/src/network/networkd-link.c
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2014-08-06 15:54:25 +0200
committerTom Gundersen <teg@jklm.no>2014-08-12 20:42:59 +0200
commit77a008c090faf4a4fbeb26d0437913364afee258 (patch)
treea1c9802d93890bb3153af1dcda34d6e3140cd945 /src/network/networkd-link.c
parentb22d8a00f48f3c5fc4510b4acd3e1a43e731e592 (diff)
networkd: link - fix IN_SET usage
Diffstat (limited to 'src/network/networkd-link.c')
-rw-r--r--src/network/networkd-link.c2
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);