diff options
author | Olivier Blin <oblin@mandriva.org> | 2004-08-27 12:38:25 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.org> | 2004-08-27 12:38:25 +0000 |
commit | 1bc7125ab2df89405c431bc19b31343da8749e25 (patch) | |
tree | ab1fa21e289c05a5c8f830c9923082b63faa6e69 /perl-install | |
parent | 743973990f9d78ef0b4b4a067e9a2781cfd9ae52 (diff) | |
download | drakx-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')
-rwxr-xr-x | perl-install/standalone/drakconnect | 2 |
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); |