summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/networkmanager/files/networkmanager-0.8.2-shared-connection.patch')
-rw-r--r--net-misc/networkmanager/files/networkmanager-0.8.2-shared-connection.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/net-misc/networkmanager/files/networkmanager-0.8.2-shared-connection.patch b/net-misc/networkmanager/files/networkmanager-0.8.2-shared-connection.patch
index 6513221..41d8cae 100644
--- a/net-misc/networkmanager/files/networkmanager-0.8.2-shared-connection.patch
+++ b/net-misc/networkmanager/files/networkmanager-0.8.2-shared-connection.patch
@@ -1,4 +1,4 @@
-From 5dc7075a1bb262b60880ee5130ee128e33f71b87 Mon Sep 17 00:00:00 2001
+From 3db3f156b2346419afd70621649b590a0667219e Mon Sep 17 00:00:00 2001
From: Mu Qiao <qiaomuf@gentoo.org>
Date: Wed, 5 Jan 2011 13:30:08 +0800
Subject: [PATCH] Support shared and link-local method for ipv4
@@ -162,7 +162,7 @@ index f9fae51..703059d 100644
/* DNS Servers */
ifnet_set_data (conn_name, "dns_servers", NULL);
diff --git a/system-settings/plugins/ifnet/net_parser.c b/system-settings/plugins/ifnet/net_parser.c
-index b4a381d..a0b45cb 100644
+index b4a381d..3dd9fe7 100644
--- a/system-settings/plugins/ifnet/net_parser.c
+++ b/system-settings/plugins/ifnet/net_parser.c
@@ -384,14 +384,17 @@ ifnet_set_data (gchar * conn_name, gchar * key, gchar * value)
@@ -170,7 +170,7 @@ index b4a381d..a0b45cb 100644
}
/* Remove existing key value pair */
+ if (value)
-+ strip_string (value);
++ strip_string (value, '"');
if (g_hash_table_lookup_extended (conn, key, &orin_key, &orin_value)) {
+ if (value && !strcmp (orin_value, value))
+ return;
@@ -181,7 +181,7 @@ index b4a381d..a0b45cb 100644
if (value)
- g_hash_table_insert (conn, g_strdup (key),
- strip_string (g_strdup (value), '"'));
-+ g_hash_table_insert (conn, g_strdup (key), g_strdup (value), '"');
++ g_hash_table_insert (conn, g_strdup (key), g_strdup (value));
net_parser_data_changed = TRUE;
}