summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/drakconnect
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-03-17 16:48:20 +0000
committerOlivier Blin <oblin@mandriva.org>2005-03-17 16:48:20 +0000
commitd58f0e551ffd41a64fe27bf6626762fe96476554 (patch)
tree52d5b4506687dc130a5f28968e12e37bccfcc304 /perl-install/standalone/drakconnect
parent19816396128e6594495eec6a7dfbe98b9005e59a (diff)
downloaddrakx-backup-do-not-use-d58f0e551ffd41a64fe27bf6626762fe96476554.tar
drakx-backup-do-not-use-d58f0e551ffd41a64fe27bf6626762fe96476554.tar.gz
drakx-backup-do-not-use-d58f0e551ffd41a64fe27bf6626762fe96476554.tar.bz2
drakx-backup-do-not-use-d58f0e551ffd41a64fe27bf6626762fe96476554.tar.xz
drakx-backup-do-not-use-d58f0e551ffd41a64fe27bf6626762fe96476554.zip
fill at least the DEVICE field for non-configured devices
Diffstat (limited to 'perl-install/standalone/drakconnect')
-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 20d40292a..f2797468b 100755
--- a/perl-install/standalone/drakconnect
+++ b/perl-install/standalone/drakconnect
@@ -253,7 +253,7 @@ sub manage {
each_index {
my ($name, $interface, $protocol) = ($_, $p->{$_}{name}, $p->{$_}{protocol});
$p->{$name}{gui}{index} = $::i;
- $p->{$name}{intf} ||= {};
+ $p->{$name}{intf} ||= { DEVICE => $interface };
build_tree($netc, $p->{$name}{intf}, $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}));