diff options
-rw-r--r-- | lib/network/connection_manager.pm | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/network/connection_manager.pm b/lib/network/connection_manager.pm index d6c93d9..da7cc2c 100644 --- a/lib/network/connection_manager.pm +++ b/lib/network/connection_manager.pm @@ -95,6 +95,10 @@ sub load_settings { $cmanager->{connection}->load_interface_settings; $cmanager->{connection}->guess_network_access_settings if $cmanager->{connection}->can('guess_network_access_settings'); + if ($cmanager->{connection}->can('guess_provider_settings')) { + $cmanager->{connection}->guess_provider_settings; + $cmanager->{connection}->set_provider; + } $cmanager->{connection}->guess_protocol($cmanager->{net}) if $cmanager->{connection}->can('guess_protocol'); $cmanager->{connection}->guess_access_settings if $cmanager->{connection}->can('guess_access_settings'); $cmanager->{connection}->guess_address_settings if $cmanager->{connection}->can('guess_address_settings'); @@ -139,6 +143,9 @@ sub configure_connection { { label => $cmanager->{connection}->get_network_access_settings_label, title => 1, advanced => 1 }, @{$cmanager->{connection}->get_network_access_settings}, ) : (), + $cmanager->{connection}->can('get_providers') ? ( + @{$cmanager->{connection}->get_provider_settings($cmanager->{net})} + ) : (), $cmanager->{connection}->can('get_protocols') ? ( @{$cmanager->{connection}->get_protocol_settings}, ) : (), |