[network-manager-applet] editor: fix a crash when adding manual IPv6 routes
- From: Jiří Klimeš <jklimes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [network-manager-applet] editor: fix a crash when adding manual IPv6 routes
- Date: Tue, 3 Mar 2015 15:57:53 +0000 (UTC)
commit 0d2583ed6ae143f1a7221656accd511b2c5058b0
Author: Jiří Klimeš <jklimes redhat com>
Date: Tue Mar 3 16:54:55 2015 +0100
editor: fix a crash when adding manual IPv6 routes
It was caused by a leftover line (initially added in commit d48ab837).
src/connection-editor/ip6-routes-dialog.c | 1 -
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 31421d6..94be45d 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]