summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/network/adsl.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/network/adsl.pm b/perl-install/network/adsl.pm
index 68ad935d8..cd1811abb 100644
--- a/perl-install/network/adsl.pm
+++ b/perl-install/network/adsl.pm
@@ -277,8 +277,8 @@ INTERFACE=`$modems{$adsl_device}{get_intf}`
# set aliases:
- if (exists $modems{$adsl_device}{modules}) {
- modules::add_alias($_->[0], $_->[1]) foreach @{$modems{$adsl_device}{modules}};
+ if (exists $modems{$adsl_device}{aliases}) {
+ modules::add_alias($_->[0], $_->[1]) foreach @{$modems{$adsl_device}{aliases}};
$::isStandalone and modules::write_conf();
}