From c07111e6d9a84aff33831380a6be8ffebd0a5588 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 23 Feb 2004 15:50:20 +0000 Subject: (del_intf) only list configured interfaces when offering to delete them --- perl-install/standalone/drakconnect | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'); -- cgit v1.2.1