From a624521090d40edeadaa061a974c6b3f41d12f1c Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Wed, 23 Nov 2011 21:59:09 +0000 Subject: remove unused settings variable in connection hash --- lib/network/connection/ppp.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/network/connection') diff --git a/lib/network/connection/ppp.pm b/lib/network/connection/ppp.pm index 37fabb3..287d7bb 100644 --- a/lib/network/connection/ppp.pm +++ b/lib/network/connection/ppp.pm @@ -61,7 +61,7 @@ sub get_up_timeout { 20 } sub build_ifcfg_settings { my ($self) = @_; my $modemport = $self->get_tty_device; - my $settings = put_in_hash($self->{settings}, { + my $settings = { if_($modemport, MODEMPORT => $modemport), LINESPEED => "115200", PERSIST => "yes", @@ -69,7 +69,7 @@ sub build_ifcfg_settings { #- FIXME: move in network::connection::cellular or network::connection::cellular_card if_($self->get_interface !~ /^hso/, DEBUG => "yes"), if_($self->{access}{cid}, CELLULAR_CID => $self->{access}{cid}), - }); + }; $self->SUPER::build_ifcfg_settings($settings); } -- cgit v1.2.1