diff options
author | Olivier Blin <oblin@mandriva.com> | 2008-11-24 16:19:00 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2008-11-24 16:19:00 +0000 |
commit | d8c6f2780ecc6ed3d89adc3790a2621e9fdd423a (patch) | |
tree | 21c88fb011d6b82df1abb069a92421a638d1f8b7 /lib | |
parent | 4b8f97020f99eb3b92bb8c9571ca6032949b84e8 (diff) | |
download | drakx-net-d8c6f2780ecc6ed3d89adc3790a2621e9fdd423a.tar drakx-net-d8c6f2780ecc6ed3d89adc3790a2621e9fdd423a.tar.gz drakx-net-d8c6f2780ecc6ed3d89adc3790a2621e9fdd423a.tar.bz2 drakx-net-d8c6f2780ecc6ed3d89adc3790a2621e9fdd423a.tar.xz drakx-net-d8c6f2780ecc6ed3d89adc3790a2621e9fdd423a.zip |
be more readable
Diffstat (limited to 'lib')
-rw-r--r-- | lib/network/connection/xdsl.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/network/connection/xdsl.pm b/lib/network/connection/xdsl.pm index 1f3da6f..f50a9a6 100644 --- a/lib/network/connection/xdsl.pm +++ b/lib/network/connection/xdsl.pm @@ -30,7 +30,7 @@ sub uses_ppp { !member($self->{protocol}, @non_ppp_protocols); } -sub uses_atmarp { +sub uses_atm_arp { my ($self) = @_; $self->{device}{xdsl_type} eq 'usb' && !$self->uses_ppp; } @@ -308,7 +308,7 @@ sub build_ifcfg_settings { my $settings = { if_($self->uses_ppp, TYPE => 'ADSL'), }; - if ($self->uses_atmarp) { + if ($self->uses_atm_arp) { #- use ATMARP with the atm0 interface put_in_hash({ DEVICE => "atm0", |