summaryrefslogtreecommitdiff
path: root/src/network/networkd.h
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2013-12-14 23:39:04 +0530
committerTom Gundersen <teg@jklm.no>2013-12-17 22:08:12 +0100
commitef1ba6065c6ccea94d4ee867f36df7bbc53a5224 (patch)
tree70d2d8a96c34981577570536fa71248fc4d68e46 /src/network/networkd.h
parent22936833e177d9e477e059ec2b4f4fa9213b4e19 (diff)
networkd: link - remove useless states
Rework the state-machine a bit.
Diffstat (limited to 'src/network/networkd.h')
-rw-r--r--src/network/networkd.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/network/networkd.h b/src/network/networkd.h
index d1bc348913..c28c90f0e3 100644
--- a/src/network/networkd.h
+++ b/src/network/networkd.h
@@ -133,11 +133,9 @@ struct Route {
};
typedef enum LinkState {
- LINK_STATE_JOIN_BRIDGE,
- LINK_STATE_BRIDGE_JOINED,
- LINK_STATE_SET_ADDRESSES,
- LINK_STATE_ADDRESSES_SET,
- LINK_STATE_SET_ROUTES,
+ LINK_STATE_JOINING_BRIDGE,
+ LINK_STATE_SETTING_ADDRESSES,
+ LINK_STATE_SETTING_ROUTES,
LINK_STATE_CONFIGURED,
LINK_STATE_FAILED,
_LINK_STATE_MAX,