summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-02-23 15:50:20 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-02-23 15:50:20 +0000
commitc07111e6d9a84aff33831380a6be8ffebd0a5588 (patch)
tree307ea6bf8e43ffc566d1388ee6260bcf5475f305 /perl-install
parentf99067bf5d740525cdfbf3c607d89366cfcd646b (diff)
downloaddrakx-backup-do-not-use-c07111e6d9a84aff33831380a6be8ffebd0a5588.tar
drakx-backup-do-not-use-c07111e6d9a84aff33831380a6be8ffebd0a5588.tar.gz
drakx-backup-do-not-use-c07111e6d9a84aff33831380a6be8ffebd0a5588.tar.bz2
drakx-backup-do-not-use-c07111e6d9a84aff33831380a6be8ffebd0a5588.tar.xz
drakx-backup-do-not-use-c07111e6d9a84aff33831380a6be8ffebd0a5588.zip
(del_intf) only list configured interfaces when offering to delete them
Diffstat (limited to 'perl-install')
-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 c73a56aa3..c1ee41144 100755
--- a/perl-install/standalone/drakconnect
+++ b/perl-install/standalone/drakconnect
@@ -609,7 +609,7 @@ sub del_intf() {
welcome => {
no_back => 1,
name => N("Select the network interface to remove:"),
- data => [ { label => N("Net Device"), val => \$intf2delete, list => [ uniq(detect_devices::getNet(), keys %$intf) ], allow_empty_list => 1 } ],
+ data => [ { label => N("Net Device"), val => \$intf2delete, list => [ keys %$intf ], allow_empty_list => 1 } ],
post => sub {
!$::testing and eval {
modules::mergein_conf('/etc/modules.conf');