summaryrefslogtreecommitdiff
path: root/src/network/networkd-link.h
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2014-08-13 22:44:35 +0200
committerTom Gundersen <teg@jklm.no>2014-08-13 22:44:41 +0200
commitd3df0e3982777fd5de8cffaa585eba0af3773c08 (patch)
tree7674683f0562b84c0f0a8e275cc256d69365a9d1 /src/network/networkd-link.h
parentd6731e4c7964ee2860d4f5abdb0b52acd7a66960 (diff)
sd-network: rename operstates 'down' -> 'off' and 'up' -> 'no-carrier'
Suggested by Lennart and Kay.
Diffstat (limited to 'src/network/networkd-link.h')
-rw-r--r--src/network/networkd-link.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/network/networkd-link.h b/src/network/networkd-link.h
index 6d58fa1584..0f73ec7f9b 100644
--- a/src/network/networkd-link.h
+++ b/src/network/networkd-link.h
@@ -37,8 +37,8 @@ typedef enum LinkState {
} LinkState;
typedef enum LinkOperationalState {
- LINK_OPERSTATE_DOWN,
- LINK_OPERSTATE_UP,
+ LINK_OPERSTATE_OFF,
+ LINK_OPERSTATE_NO_CARRIER,
LINK_OPERSTATE_DORMANT,
LINK_OPERSTATE_CARRIER,
LINK_OPERSTATE_DEGRADED,