summaryrefslogtreecommitdiff
path: root/src/network/networkd-manager.c
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2014-08-12 20:00:34 +0200
committerTom Gundersen <teg@jklm.no>2014-08-12 20:42:59 +0200
commit54cba0b16cdc94d5c21e8d805a4ade1255d43bc9 (patch)
tree3fc9ab6e6d10b25f5aca724f0e836c31eb0507f3 /src/network/networkd-manager.c
parent3c9b886068d99e5d3cbabcac32a4decf37244c54 (diff)
sd-network: split the operstate 'unknown' into 'down' and 'up'
Diffstat (limited to 'src/network/networkd-manager.c')
-rw-r--r--src/network/networkd-manager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/networkd-manager.c b/src/network/networkd-manager.c
index 586842eefc..ff6c71db35 100644
--- a/src/network/networkd-manager.c
+++ b/src/network/networkd-manager.c
@@ -456,7 +456,7 @@ int manager_save(Manager *m) {
Iterator i;
_cleanup_free_ char *temp_path = NULL;
_cleanup_fclose_ FILE *f = NULL;
- LinkOperationalState operstate = LINK_OPERSTATE_UNKNOWN;
+ LinkOperationalState operstate = LINK_OPERSTATE_DOWN;
const char *operstate_str;
int r;