chiark / gitweb /
sd-network: split the operstate 'unknown' into 'down' and 'up'
[elogind.git] / src / network / networkd-manager.c
index 586842eefcd7731b12e3f6f8d70a8653d5a14310..ff6c71db35e81ffc6690e0c457e603c5579878f8 100644 (file)
@@ -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;