summaryrefslogtreecommitdiffstats
path: root/lib/network/connection/xdsl.pm
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-11-24 23:24:22 +0000
committerOlivier Blin <oblin@mandriva.com>2008-11-24 23:24:22 +0000
commitb3913964927249419be7210f58954ba005498162 (patch)
treecff977802661552bb1cbab9c28aacca4246764cf /lib/network/connection/xdsl.pm
parent8388fb1fa0ba567ca2489e4d7492a763ee2aed42 (diff)
downloaddrakx-net-b3913964927249419be7210f58954ba005498162.tar
drakx-net-b3913964927249419be7210f58954ba005498162.tar.gz
drakx-net-b3913964927249419be7210f58954ba005498162.tar.bz2
drakx-net-b3913964927249419be7210f58954ba005498162.tar.xz
drakx-net-b3913964927249419be7210f58954ba005498162.zip
fix writing ATM settings (has been broken for ages)
Diffstat (limited to 'lib/network/connection/xdsl.pm')
-rw-r--r--lib/network/connection/xdsl.pm8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/network/connection/xdsl.pm b/lib/network/connection/xdsl.pm
index 458619c..56cd294 100644
--- a/lib/network/connection/xdsl.pm
+++ b/lib/network/connection/xdsl.pm
@@ -317,17 +317,17 @@ sub build_ifcfg_settings {
};
if ($self->uses_atm_arp) {
#- use ATMARP with the atm0 interface
- put_in_hash({
+ put_in_hash($settings, {
DEVICE => $self->get_atm_arp_interface,
ATM_ADDR => join('.', @{$self->{access}{peer}}{qw(vpi vci)}),
MII_NOT_SUPPORTED => "yes",
- }, $settings);
+ });
}
if ($self->uses_atm_bridging) {
- put_in_hash({
+ put_in_hash($settings, {
ATM_DEVICE => $self->get_atm_bridging_interface,
ATM_ADDR => join('.', @{$self->{access}{peer}}{qw(vpi vci)}),
- }, $settings);
+ });
}
$self->network::connection::build_ifcfg_settings($settings);
}