[network-manager-applet/jk/rh1501664-edit-addr-gen-mode] fixup! editor: allow setting IPv6 address generation mode (rh #1501664)



commit 460b104e8a59fae15a9b2d438d50599eeef23c31
Author: Thomas Haller <thaller redhat com>
Date:   Mon Nov 6 13:24:06 2017 +0100

    fixup! editor: allow setting IPv6 address generation mode (rh #1501664)

 src/connection-editor/page-ip6.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/connection-editor/page-ip6.c b/src/connection-editor/page-ip6.c
index 36cf279..82bebe1 100644
--- a/src/connection-editor/page-ip6.c
+++ b/src/connection-editor/page-ip6.c
@@ -1408,7 +1408,7 @@ ui_to_setting (CEPageIP6 *self, GError **error)
        g_object_set (G_OBJECT (priv->setting),
                      NM_SETTING_IP_CONFIG_MAY_FAIL, may_fail,
                      NM_SETTING_IP6_CONFIG_IP6_PRIVACY, ip6_privacy,
-                     NM_SETTING_IP6_CONFIG_ADDR_GEN_MODE, ip6_addr_gen_mode,
+                     NM_SETTING_IP6_CONFIG_ADDR_GEN_MODE, (int) ip6_addr_gen_mode,
                      NULL);
 
        valid = TRUE;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]