core: don't pointlessly clear IP6 config on success

This commit is contained in:
Dan Williams
2010-04-23 21:48:16 -07:00
parent 6b63481d4d
commit aaf10a8edb

View File

@@ -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;