[network-manager-applet/nma-0-9-8] nma-bt-device: fix creation of BT settings when creating connection
- From: Dan Williams <dcbw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [network-manager-applet/nma-0-9-8] nma-bt-device: fix creation of BT settings when creating connection
- Date: Mon, 23 Sep 2013 19:47:44 +0000 (UTC)
commit 6c85101945fb245d6f884b756739fd12c11d8fe5
Author: Thomas Haller <thaller redhat com>
Date: Thu Sep 19 14:26:58 2013 +0200
nma-bt-device: fix creation of BT settings when creating connection
Due to a typo, the created setting contained wrong fields for
IP4 and IP6.
Signed-off-by: Thomas Haller <thaller redhat com>
src/gnome-bluetooth/nma-bt-device.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/gnome-bluetooth/nma-bt-device.c b/src/gnome-bluetooth/nma-bt-device.c
index 512c5cc..3a7728c 100644
--- a/src/gnome-bluetooth/nma-bt-device.c
+++ b/src/gnome-bluetooth/nma-bt-device.c
@@ -1025,14 +1025,14 @@ add_pan_connection (NmaBtDevice *self)
ip_setting = nm_setting_ip4_config_new ();
g_object_set (G_OBJECT (ip_setting),
NM_SETTING_IP4_CONFIG_METHOD, NM_SETTING_IP4_CONFIG_METHOD_AUTO,
- NM_SETTING_IP6_CONFIG_MAY_FAIL, FALSE,
+ NM_SETTING_IP4_CONFIG_MAY_FAIL, FALSE,
NULL);
nm_connection_add_setting (connection, ip_setting);
/* IPv6 */
ip_setting = nm_setting_ip6_config_new ();
g_object_set (G_OBJECT (ip_setting),
- NM_SETTING_IP6_CONFIG_METHOD, NM_SETTING_IP4_CONFIG_METHOD_AUTO,
+ NM_SETTING_IP6_CONFIG_METHOD, NM_SETTING_IP6_CONFIG_METHOD_AUTO,
NM_SETTING_IP6_CONFIG_MAY_FAIL, TRUE,
NULL);
nm_connection_add_setting (connection, ip_setting);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]