summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/standalone')
-rwxr-xr-xperl-install/standalone/drakroam4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/standalone/drakroam b/perl-install/standalone/drakroam
index 8b7144ebc..84dad3618 100755
--- a/perl-install/standalone/drakroam
+++ b/perl-install/standalone/drakroam
@@ -214,9 +214,9 @@ gtkadd(gtkset_border_width($w->{window}, 2),
1, create_scrolled_window($AvailableList),
0, gtkpack(create_hbox(),
gtksignal_connect(Gtk2::Button->new("Add"), clicked => sub {
- my @selected = $KnownList->get_selected_indices;
+ my @selected = $AvailableList->get_selected_indices;
my ($mode, $channel, $key);
- my $essid = $AvailableList->{data}[@selected][0];
+ my $essid = $AvailableList->{data}["@selected"][0];
my $dhcp = 1; # assume dhcp for new networks
&AddNet($essid, $mode, $channel, $key, $dhcp);
}),