diff options
Diffstat (limited to 'lib/network/connection/ppp.pm')
-rw-r--r-- | lib/network/connection/ppp.pm | 4 |
1 files changed, 2 insertions, 2 deletions
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); } |