summaryrefslogtreecommitdiff
path: root/Network
diff options
context:
space:
mode:
authoruid2838 <uid2838>2007-08-24 00:47:06 +0000
committeruid2838 <uid2838>2007-08-24 00:47:06 +0000
commitc7838d0657e457797e494792ef08f88f328339e5 (patch)
treed00dbba9e019e9033cbfceabbc08f009428eed7a /Network
parentbe26dc585d3cf622a08623eb57aa5c1ab39942e8 (diff)
2007-08-24 Carlos Garnacho <carlosg@gnome.org>
* Network/Ifaces.pm (get_interface_parse_table) (get_interface_replace_table): Fix wireless settings parsing/saving for Slackware.
Diffstat (limited to 'Network')
-rw-r--r--Network/Ifaces.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/Network/Ifaces.pm b/Network/Ifaces.pm
index 6e7c61e..6c72269 100644
--- a/Network/Ifaces.pm
+++ b/Network/Ifaces.pm
@@ -2646,8 +2646,8 @@ sub get_interface_parse_table
[ "auto", \&get_slackware_auto, [RC_INET, RC_LOCAL, IFACE]],
[ "bootproto", \&get_slackware_bootproto, [RC_INET_CONF, IFACE]],
[ "essid", \&Utils::Parse::get_wireless_opts, [ WIRELESS, IFACE], \&get_wireless_ifaces, ESSID ],
- [ "key_type", \&get_wep_key_type, [ \&Utils::Parse::get_wireless_opts, [ WIRELESS, IFACE], \&get_wireless_ifaces, KEY ]],
- [ "key", \&get_wep_key, [ \&Utils::Parse::get_wireless_opts, [ WIRELESS, IFACE], \&get_wireless_ifaces, KEY ]],
+ [ "key_type", \&get_wep_key_type, [ \&Utils::Parse::get_wireless_opts, WIRELESS, IFACE, \&get_wireless_ifaces, KEY ]],
+ [ "key", \&get_wep_key, [ \&Utils::Parse::get_wireless_opts, WIRELESS, IFACE, \&get_wireless_ifaces, KEY ]],
# Modem stuff
[ "update_dns", \&check_type, [TYPE, "modem", \&Utils::Parse::get_kw, PPP_OPTIONS, "usepeerdns" ]],
[ "noauth", \&check_type, [TYPE, "modem", \&Utils::Parse::get_kw, PPP_OPTIONS, "noauth" ]],
@@ -3348,7 +3348,7 @@ sub get_interface_replace_table
[ "auto", \&set_slackware_auto, [ RC_INET, RC_LOCAL, IFACE ] ],
[ "essid", \&Utils::Replace::set_wireless_opts, [ WIRELESS, IFACE ], \&get_wireless_ifaces, ESSID ],
[ "key", \&Utils::Replace::set_wireless_opts, [ WIRELESS, IFACE ], \&get_wireless_ifaces, KEY ],
- [ "key_type", \&set_wep_key_full, [ \&Utils::Replace::set_wireless_opts, [ WIRELESS, IFACE ], \&get_wireless_ifaces, KEY, "%key%" ]],
+ [ "key_type", \&set_wep_key_full, [ \&Utils::Replace::set_wireless_opts, WIRELESS, IFACE, \&get_wireless_ifaces, KEY, "%key%" ]],
# Modem stuff
[ "phone_number", \&check_type, [TYPE, "modem", \&create_pppscript, CHAT ]],
[ "phone_number", \&check_type, [TYPE, "modem", \&create_pppgo ]],