summaryrefslogtreecommitdiffstats
path: root/lib/network
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-05-15 22:16:19 +0000
committerOlivier Blin <oblin@mandriva.com>2008-05-15 22:16:19 +0000
commit3d1133fdee36a9e179cdd119d4308b31f3988a99 (patch)
tree63c15d4c0a885fcb165fe02bba0461a27d1e103d /lib/network
parent1d3c22d0e09651021da57cdecb9e5d86ce325a8d (diff)
downloaddrakx-net-3d1133fdee36a9e179cdd119d4308b31f3988a99.tar
drakx-net-3d1133fdee36a9e179cdd119d4308b31f3988a99.tar.gz
drakx-net-3d1133fdee36a9e179cdd119d4308b31f3988a99.tar.bz2
drakx-net-3d1133fdee36a9e179cdd119d4308b31f3988a99.tar.xz
drakx-net-3d1133fdee36a9e179cdd119d4308b31f3988a99.zip
add set_ppp_settings helper
Diffstat (limited to 'lib/network')
-rw-r--r--lib/network/connection/cellular.pm5
1 files changed, 5 insertions, 0 deletions
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;