[network-manager-applet] nma-bt-device: fix creation of BT settings when creating connection
- From: Thomas Haller <thaller src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [network-manager-applet] nma-bt-device: fix creation of BT settings when creating connection
- Date: Thu, 19 Sep 2013 12:29:30 +0000 (UTC)
commit b2c2fbf4aeafd33405b17f915419f50844a7545c
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 73f8fc9..8426242 100644
--- a/src/gnome-bluetooth/nma-bt-device.c
+++ b/src/gnome-bluetooth/nma-bt-device.c
@@ -987,14 +987,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]