From aaf10a8edbeb1403a252799a7e6da9e8032be72c Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Fri, 23 Apr 2010 21:48:16 -0700 Subject: [PATCH] core: don't pointlessly clear IP6 config on success --- src/nm-device.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/nm-device.c b/src/nm-device.c index 26b00474d..9c14f5ae3 100644 --- a/src/nm-device.c +++ b/src/nm-device.c @@ -1960,10 +1960,8 @@ real_act_stage4_get_ip6_config (NMDevice *self, } else { *reason = NM_DEVICE_STATE_REASON_DHCP_ERROR; } - } else { - *config = NULL; + } else ret = NM_ACT_STAGE_RETURN_SUCCESS; - } out: return ret;