network-manager-applet r866 - trunk/src/wireless-security
- From: dcbw svn gnome org
- To: svn-commits-list gnome org
- Subject: network-manager-applet r866 - trunk/src/wireless-security
- Date: Tue, 26 Aug 2008 03:21:09 +0000 (UTC)
Author: dcbw
Date: Tue Aug 26 03:21:09 2008
New Revision: 866
URL: http://svn.gnome.org/viewvc/network-manager-applet?rev=866&view=rev
Log:
Fix setting default ciphers (found by Howard Chu)
Modified:
trunk/src/wireless-security/wireless-security.c
Modified: trunk/src/wireless-security/wireless-security.c
==============================================================================
--- trunk/src/wireless-security/wireless-security.c (original)
+++ trunk/src/wireless-security/wireless-security.c Tue Aug 26 03:21:09 2008
@@ -176,19 +176,19 @@
// FIXME: allow protocol selection and filter on device capabilities
g_slist_foreach (s_wireless_sec->proto, (GFunc) g_free, NULL);
g_slist_free (s_wireless_sec->proto);
- s_wireless_sec->proto = g_slist_append (s_wireless_sec->proto, g_strdup ("wpa"));
+ s_wireless_sec->proto = g_slist_append (NULL, g_strdup ("wpa"));
s_wireless_sec->proto = g_slist_append (s_wireless_sec->proto, g_strdup ("rsn"));
// FIXME: allow pairwise cipher selection and filter on device capabilities
g_slist_foreach (s_wireless_sec->pairwise, (GFunc) g_free, NULL);
g_slist_free (s_wireless_sec->pairwise);
- s_wireless_sec->pairwise = g_slist_append (s_wireless_sec->pairwise, g_strdup ("tkip"));
+ s_wireless_sec->pairwise = g_slist_append (NULL, g_strdup ("tkip"));
s_wireless_sec->pairwise = g_slist_append (s_wireless_sec->pairwise, g_strdup ("ccmp"));
// FIXME: allow group cipher selection and filter on device capabilities
g_slist_foreach (s_wireless_sec->group, (GFunc) g_free, NULL);
g_slist_free (s_wireless_sec->group);
- s_wireless_sec->group = g_slist_append (s_wireless_sec->group, g_strdup ("wep40"));
+ s_wireless_sec->group = g_slist_append (NULL, g_strdup ("wep40"));
s_wireless_sec->group = g_slist_append (s_wireless_sec->group, g_strdup ("wep104"));
s_wireless_sec->group = g_slist_append (s_wireless_sec->group, g_strdup ("tkip"));
s_wireless_sec->group = g_slist_append (s_wireless_sec->group, g_strdup ("ccmp"));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]