From 3d1133fdee36a9e179cdd119d4308b31f3988a99 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Thu, 15 May 2008 22:16:19 +0000 Subject: add set_ppp_settings helper --- lib/network/connection/cellular.pm | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lib') diff --git a/lib/network/connection/cellular.pm b/lib/network/connection/cellular.pm index ad4e68d..79fa065 100644 --- a/lib/network/connection/cellular.pm +++ b/lib/network/connection/cellular.pm @@ -50,6 +50,11 @@ sub get_access_settings { ]; } +sub set_ppp_settings { + my ($self) = @_; + $self->{access}{dial_number} = "*99***$self->{access}{cid}#"; +} + sub write_settings { my ($self) = @_; $self->write_cellular_settings; -- cgit v1.2.1