diff options
Diffstat (limited to 'src/nm-checkpoint.c')
-rw-r--r-- | src/nm-checkpoint.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nm-checkpoint.c b/src/nm-checkpoint.c index 3a37266751..6851710c54 100644 --- a/src/nm-checkpoint.c +++ b/src/nm-checkpoint.c @@ -32,7 +32,7 @@ typedef struct { NMDeviceState state; bool is_software:1; bool realized:1; - bool activation_lifetime_bound_to_profile_visiblity:1; + bool activation_lifetime_bound_to_profile_visibility:1; NMUnmanFlagOp unmanaged_explicit; NMActivationReason activation_reason; gulong dev_exported_change_id; @@ -292,7 +292,7 @@ restore_and_activate_connection (NMCheckpoint *self, subject, NM_ACTIVATION_TYPE_MANAGED, dev_checkpoint->activation_reason, - dev_checkpoint->activation_lifetime_bound_to_profile_visiblity + dev_checkpoint->activation_lifetime_bound_to_profile_visibility ? NM_ACTIVATION_STATE_FLAG_LIFETIME_BOUND_TO_PROFILE_VISIBILITY : NM_ACTIVATION_STATE_FLAG_NONE, &local_error)) { @@ -550,7 +550,7 @@ device_checkpoint_create (NMCheckpoint *checkpoint, NMDevice *device) dev_checkpoint->settings_connection = nm_simple_connection_new_clone (nm_settings_connection_get_connection (settings_connection)); dev_checkpoint->ac_version_id = nm_active_connection_version_id_get (NM_ACTIVE_CONNECTION (act_request)); dev_checkpoint->activation_reason = nm_active_connection_get_activation_reason (NM_ACTIVE_CONNECTION (act_request)); - dev_checkpoint->activation_lifetime_bound_to_profile_visiblity = NM_FLAGS_HAS (nm_active_connection_get_state_flags (NM_ACTIVE_CONNECTION (act_request)), + dev_checkpoint->activation_lifetime_bound_to_profile_visibility = NM_FLAGS_HAS (nm_active_connection_get_state_flags (NM_ACTIVE_CONNECTION (act_request)), NM_ACTIVATION_STATE_FLAG_LIFETIME_BOUND_TO_PROFILE_VISIBILITY); } |