From d8c6f2780ecc6ed3d89adc3790a2621e9fdd423a Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Mon, 24 Nov 2008 16:19:00 +0000 Subject: be more readable --- lib/network/connection/xdsl.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/network/connection/xdsl.pm') 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", -- cgit v1.2.1