From eb1ccf90b814ef1cf58be9a25347ea7837efced5 Mon Sep 17 00:00:00 2001 From: Beniamino Galvani Date: Wed, 26 Aug 2015 11:46:26 +0200 Subject: [PATCH] device: fix clearing of dhcp6_restart_id in dhcp6_cleanup() Fixes: abc96ecdfd1162bf59048d10ff13cbe11a0c8da7 (cherry picked from commit 905220b337dbabaead3469673f3d5c1fdb9933d0) --- src/devices/nm-device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/devices/nm-device.c b/src/devices/nm-device.c index 267e1a124d..09fc143cbb 100644 --- a/src/devices/nm-device.c +++ b/src/devices/nm-device.c @@ -3873,7 +3873,7 @@ dhcp6_cleanup (NMDevice *self, CleanupType cleanup_type, gboolean release) priv->dhcp6_mode = NM_RDISC_DHCP_LEVEL_NONE; g_clear_object (&priv->dhcp6_ip6_config); - nm_clear_g_source (&priv->dhcp4_restart_id); + nm_clear_g_source (&priv->dhcp6_restart_id); if (priv->dhcp6_client) { if (priv->dhcp6_state_sigid) {