summaryrefslogtreecommitdiffstats
path: root/lib/network
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-02-26 17:37:29 +0000
committerOlivier Blin <oblin@mandriva.com>2008-02-26 17:37:29 +0000
commit63f09fd1f7ece771e7f337ce83ddc57eda7d5541 (patch)
treebb3e0a03f388d8185100ed695b4ab95b1bc31c46 /lib/network
parent5f52b7d8aebf4187e22f7d9a70b8aa156d032506 (diff)
downloaddrakx-net-63f09fd1f7ece771e7f337ce83ddc57eda7d5541.tar
drakx-net-63f09fd1f7ece771e7f337ce83ddc57eda7d5541.tar.gz
drakx-net-63f09fd1f7ece771e7f337ce83ddc57eda7d5541.tar.bz2
drakx-net-63f09fd1f7ece771e7f337ce83ddc57eda7d5541.tar.xz
drakx-net-63f09fd1f7ece771e7f337ce83ddc57eda7d5541.zip
update networks list after initial connection setup
Diffstat (limited to 'lib/network')
-rw-r--r--lib/network/connection_manager.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/network/connection_manager.pm b/lib/network/connection_manager.pm
index b4aac0c..d74b92f 100644
--- a/lib/network/connection_manager.pm
+++ b/lib/network/connection_manager.pm
@@ -102,6 +102,8 @@ sub configure_connection {
if (!check_setup($cmanager)) {
setup_connection($cmanager);
+ network::connection_manager::update_networks($cmanager)
+ if $cmanager->{connection}->can('get_networks');
update_on_status_change($cmanager);
return;
}