diff options
author | Thomas Haller <thaller@redhat.com> | 2019-07-22 21:56:05 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2019-07-25 22:02:00 +0200 |
commit | e32d80ea29ecbdef29f0ca6eb0b232d389bc3170 (patch) | |
tree | 77dd58b90130e3ddf2b0fbab29b1e44741ea2711 /src/nm-manager.c | |
parent | 10353a996f752af03000497160e3abce1b4c8477 (diff) | |
download | NetworkManager-e32d80ea29ecbdef29f0ca6eb0b232d389bc3170.tar.gz |
settings/trivial: rename NM_SETTINGS_CONNECTION_PERSIST_MODE_DISK to NM_SETTINGS_CONNECTION_PERSIST_MODE_TO_DISK
NM_SETTINGS_CONNECTION_PERSIST_MODE_DISK really directly corresponds to
NM_SETTINGS_UPDATE2_FLAG_TO_DISK. Rename, so that this is better reflected.
Diffstat (limited to 'src/nm-manager.c')
-rw-r--r-- | src/nm-manager.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nm-manager.c b/src/nm-manager.c index 4f114e4d13..6ea535021a 100644 --- a/src/nm-manager.c +++ b/src/nm-manager.c @@ -5454,7 +5454,7 @@ impl_manager_add_and_activate_connection (NMDBusObject *obj, const char *device_path; const char *specific_object_path; gs_free NMConnection **conns = NULL; - NMSettingsConnectionPersistMode persist_mode = NM_SETTINGS_CONNECTION_PERSIST_MODE_DISK; + NMSettingsConnectionPersistMode persist_mode = NM_SETTINGS_CONNECTION_PERSIST_MODE_TO_DISK; gboolean is_volatile = FALSE; gboolean bind_dbus_client = FALSE; AsyncOpType async_op_type; @@ -5485,7 +5485,7 @@ impl_manager_add_and_activate_connection (NMDBusObject *obj, s = g_variant_get_string (option_value, NULL); is_volatile = FALSE; - persist_mode = NM_SETTINGS_CONNECTION_PERSIST_MODE_DISK; + persist_mode = NM_SETTINGS_CONNECTION_PERSIST_MODE_TO_DISK; if (nm_streq (s, "volatile")) { persist_mode = NM_SETTINGS_CONNECTION_PERSIST_MODE_IN_MEMORY_ONLY; |