summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiří Klimeš <jklimes@redhat.com>2015-03-03 16:54:55 +0100
committerJiří Klimeš <jklimes@redhat.com>2015-03-03 16:55:46 +0100
commit0d2583ed6ae143f1a7221656accd511b2c5058b0 (patch)
tree9b3c32b90dadcfe992b726e2d1a2b27b20b21518
parentf224c151ea399119b88250156e2d2b98219032e2 (diff)
downloadnetwork-manager-applet-0d2583ed6ae143f1a7221656accd511b2c5058b0.tar.gz
editor: fix a crash when adding manual IPv6 routes
It was caused by a leftover line (initially added in commit d48ab837).
-rw-r--r--src/connection-editor/ip6-routes-dialog.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/connection-editor/ip6-routes-dialog.c b/src/connection-editor/ip6-routes-dialog.c
index 31421d62..94be45d5 100644
--- a/src/connection-editor/ip6-routes-dialog.c
+++ b/src/connection-editor/ip6-routes-dialog.c
@@ -791,7 +791,6 @@ ip6_routes_dialog_update_setting (GtkWidget *dialog, NMSettingIPConfig *s_ip6)
}
/* Next hop (optional) */
- memset (&next_hop, 0, sizeof (struct in6_addr));
if (!get_one_addr (model, &tree_iter, COL_NEXT_HOP, FALSE, &next_hop)) {
g_warning ("%s: IPv6 next hop invalid!", __func__);
g_free (dest);