summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2013-09-24 18:40:04 +0200
committerThomas Haller <thaller@redhat.com>2013-09-24 18:40:06 +0200
commitc4e0326c2142752e586e6881ec98d959d1d63348 (patch)
treeb67fd4d48e79a3961dba301121939892724c56c2
parent661e47311d1e9a30ece2319c822e8d1489f35e7e (diff)
downloadNetworkManager-c4e0326c2142752e586e6881ec98d959d1d63348.tar.gz
core: fix resetting wrong field in nm_ip6_config_reset_addresses
Signed-off-by: Thomas Haller <thaller@redhat.com>
-rw-r--r--src/nm-ip6-config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nm-ip6-config.c b/src/nm-ip6-config.c
index 3bf3ecfe18..c55e2a7f94 100644
--- a/src/nm-ip6-config.c
+++ b/src/nm-ip6-config.c
@@ -533,7 +533,7 @@ nm_ip6_config_reset_addresses (NMIP6Config *config)
{
NMIP6ConfigPrivate *priv = NM_IP6_CONFIG_GET_PRIVATE (config);
- g_array_set_size (priv->nameservers, 0);
+ g_array_set_size (priv->addresses, 0);
}
void