summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancesco Giudici <fgiudici@redhat.com>2017-10-06 10:28:15 +0200
committerFrancesco Giudici <fgiudici@redhat.com>2017-10-06 15:42:56 +0200
commit2776606aa35d9808880e64c40acbc7048f970957 (patch)
tree26efa3e292f9c198eca9ae0d16446a06e3a9e693
parent5c2ee8b26e540e0afaae2063d6e6121f9dce7c7f (diff)
downloadNetworkManager-2776606aa35d9808880e64c40acbc7048f970957.tar.gz
dhcp: set @was_active on ipv6 when assuming a device with dhcp ipv6 conf
Due to a typo the flag was set on ipv4 Fixes: ddfeed4530bb0ade4249025930da4f0456026d9f
-rw-r--r--src/devices/nm-device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/nm-device.c b/src/devices/nm-device.c
index 432a11caa1..e10dc7be53 100644
--- a/src/devices/nm-device.c
+++ b/src/devices/nm-device.c
@@ -6903,7 +6903,7 @@ dhcp6_start_with_link_ready (NMDevice *self, NMConnection *connection)
}
if (nm_device_sys_iface_state_is_external_or_assume (self))
- priv->dhcp4.was_active = TRUE;
+ priv->dhcp6.was_active = TRUE;
return !!priv->dhcp6.client;
}