diff options
| author | Michael Biebl <biebl@debian.org> | 2018-05-11 22:09:26 +0200 |
|---|---|---|
| committer | Michael Biebl <biebl@debian.org> | 2018-05-11 22:09:26 +0200 |
| commit | 341d403947279cd347ebd975cae8977703c0b1f3 (patch) | |
| tree | 34fa6425901e37182b353e7c95dd1d1ec8bc41ec /src/nm-checkpoint.c | |
| parent | 962a081193fcc84bbcead3dac6ebe36ccf4415ed (diff) | |
| parent | ee9c73a923909e23a649407be77e25235d769e25 (diff) | |
Update upstream source from tag 'upstream/1.10.8'
Update to upstream version '1.10.8' with Debian dir 3c3431643bdd2871afa3e1131ed2320f988f564d
Diffstat (limited to 'src/nm-checkpoint.c')
| -rw-r--r-- | src/nm-checkpoint.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/nm-checkpoint.c b/src/nm-checkpoint.c index d606dee3..bc57d449 100644 --- a/src/nm-checkpoint.c +++ b/src/nm-checkpoint.c @@ -47,6 +47,7 @@ typedef struct { NMDeviceState state; bool realized:1; NMUnmanFlagOp unmanaged_explicit; + NMActivationReason activation_reason; } DeviceCheckpoint; NM_GOBJECT_PROPERTIES_DEFINE_BASE ( @@ -301,6 +302,7 @@ activate: device, subject, NM_ACTIVATION_TYPE_MANAGED, + dev_checkpoint->activation_reason, &local_error)) { _LOGW ("rollback: reactivation of connection %s/%s failed: %s", nm_connection_get_id ((NMConnection *) connection), @@ -410,6 +412,8 @@ device_checkpoint_create (NMDevice *device, g_return_val_if_fail (act_request, NULL); 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)); } return dev_checkpoint; |