summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2004-08-27 12:38:25 +0000
committerOlivier Blin <oblin@mandriva.org>2004-08-27 12:38:25 +0000
commit1bc7125ab2df89405c431bc19b31343da8749e25 (patch)
treeab1fa21e289c05a5c8f830c9923082b63faa6e69 /perl-install/standalone
parent743973990f9d78ef0b4b4a067e9a2781cfd9ae52 (diff)
downloaddrakx-1bc7125ab2df89405c431bc19b31343da8749e25.tar
drakx-1bc7125ab2df89405c431bc19b31343da8749e25.tar.gz
drakx-1bc7125ab2df89405c431bc19b31343da8749e25.tar.bz2
drakx-1bc7125ab2df89405c431bc19b31343da8749e25.tar.xz
drakx-1bc7125ab2df89405c431bc19b31343da8749e25.zip
(manage) read settings from correct interface for non ethernet interfaces
Diffstat (limited to 'perl-install/standalone')
-rwxr-xr-xperl-install/standalone/drakconnect2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/standalone/drakconnect b/perl-install/standalone/drakconnect
index 0545c0aca..a14b34438 100755
--- a/perl-install/standalone/drakconnect
+++ b/perl-install/standalone/drakconnect
@@ -244,7 +244,7 @@ sub manage {
each_index {
my ($name, $interface, $protocol) = ($_, $p->{$_}{kind}, $p->{$_}{protocol});
$p->{$name}{gui}{index} = $::i;
- build_tree($netc, $p->{$name}{intf} = $intf->{$name =~ /eth|ath|wlan/ ? $interface : $name} || {}, $name, $interface, $protocol);
+ build_tree($netc, $p->{$name}{intf} = $intf->{$name =~ /eth|ath|wlan/ || !$name{$name} ? $interface : $name} || {}, $name, $interface, $protocol);
build_notebook($netc, $p->{$name}{intf}, $p->{$name}{gui}, $apply_button, $name, $interface);
$notebook->append_page(gtkpack(Gtk2::VBox->new(0,0), $p->{$name}{gui}{notebook}));
} (sort keys %$p);