diff --git a/src/devices/nm-device.c b/src/devices/nm-device.c index 352189634a..73ad2038b1 100644 --- a/src/devices/nm-device.c +++ b/src/devices/nm-device.c @@ -5965,7 +5965,7 @@ dhcp6_start (NMDevice *self, gboolean wait_for_ll, NMDeviceStateReason *reason) } if (!dhcp6_start_with_link_ready (self, connection)) { - *reason = NM_DEVICE_STATE_REASON_DHCP_START_FAILED; + NM_SET_OUT (reason, NM_DEVICE_STATE_REASON_DHCP_START_FAILED); return FALSE; }