1
--- Ifaces.pm 2006/10/05 22:40:14 1.10
2
+++ Network/Ifaces.pm 2006/10/09 08:18:03 1.11
3
@@ -3698,12 +3698,12 @@
4
foreach $iface (@$wireless)
6
$bootproto = ($$iface[3] == 2) ? "dhcp" : "none";
7
- $key_type = ($$iface[9] == 1) ? "hexadecimal" : "ascii";
8
+ $key_type = ($$iface[10] == 1) ? "hexadecimal" : "ascii";
10
$hash{$$iface[0]} = { "dev" => $$iface[0], "enabled" => $$iface[1], "auto" => $$iface[2],
11
"bootproto" => $bootproto,
12
"address" => $$iface[4], "netmask" => $$iface[5], "gateway" => $$iface[8],
13
- "essid" => $$iface[8], "key_type" => $key_type, "key" => $$iface[10] };
14
+ "essid" => $$iface[9], "key_type" => $key_type, "key" => $$iface[11] };
17
foreach $iface (@$irlan)