summaryrefslogtreecommitdiffstats
path: root/lib/network/connection_manager.pm
diff options
context:
space:
mode:
authorOlivier Blin <blino@mageia.org>2012-03-20 22:23:02 +0000
committerOlivier Blin <blino@mageia.org>2012-03-20 22:23:02 +0000
commit8d4ae88f3bdebf3323de86667a495d5c8a5d4f7c (patch)
tree405b3179b441c49df988c4222d0cf5a6eb24a1e7 /lib/network/connection_manager.pm
parentb27b0af484548f6c1149d3783a82b4e830fc90bf (diff)
downloaddrakx-net-8d4ae88f3bdebf3323de86667a495d5c8a5d4f7c.tar
drakx-net-8d4ae88f3bdebf3323de86667a495d5c8a5d4f7c.tar.gz
drakx-net-8d4ae88f3bdebf3323de86667a495d5c8a5d4f7c.tar.bz2
drakx-net-8d4ae88f3bdebf3323de86667a495d5c8a5d4f7c.tar.xz
drakx-net-8d4ae88f3bdebf3323de86667a495d5c8a5d4f7c.zip
make sure net object is passed to get_provider_settings and set_provider methods
Diffstat (limited to 'lib/network/connection_manager.pm')
-rw-r--r--lib/network/connection_manager.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/network/connection_manager.pm b/lib/network/connection_manager.pm
index 3bbac97..535e278 100644
--- a/lib/network/connection_manager.pm
+++ b/lib/network/connection_manager.pm
@@ -105,7 +105,7 @@ sub load_settings {
$cmanager->{connection}->guess_network_access_settings if $cmanager->{connection}->can('guess_network_access_settings');
if ($cmanager->{connection}->can('get_providers')) {
$cmanager->{connection}->guess_provider_settings;
- $cmanager->{connection}->set_provider;
+ $cmanager->{connection}->set_provider($cmanager->{net});
}
$cmanager->{connection}->guess_protocol($cmanager->{net}) if $cmanager->{connection}->can('guess_protocol');
$cmanager->{connection}->guess_access_settings if $cmanager->{connection}->can('guess_access_settings');