summaryrefslogtreecommitdiffstats
path: root/lib/network/connection
diff options
context:
space:
mode:
authorOlivier Blin <blino@mageia.org>2011-11-23 21:59:09 +0000
committerOlivier Blin <blino@mageia.org>2011-11-23 21:59:09 +0000
commita624521090d40edeadaa061a974c6b3f41d12f1c (patch)
tree2295bc89e69c8014fc6be98bbf93065207b6abaf /lib/network/connection
parentd0f2ec758e6d69e34bceff80828d39561865f12f (diff)
downloaddrakx-net-a624521090d40edeadaa061a974c6b3f41d12f1c.tar
drakx-net-a624521090d40edeadaa061a974c6b3f41d12f1c.tar.gz
drakx-net-a624521090d40edeadaa061a974c6b3f41d12f1c.tar.bz2
drakx-net-a624521090d40edeadaa061a974c6b3f41d12f1c.tar.xz
drakx-net-a624521090d40edeadaa061a974c6b3f41d12f1c.zip
remove unused settings variable in connection hash
Diffstat (limited to 'lib/network/connection')
-rw-r--r--lib/network/connection/ppp.pm4
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);
}