diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/network/connection.pm | 2 | ||||
-rw-r--r-- | lib/network/connection/cellular_card.pm | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/lib/network/connection.pm b/lib/network/connection.pm index 7b13396..013441b 100644 --- a/lib/network/connection.pm +++ b/lib/network/connection.pm @@ -152,6 +152,8 @@ sub load_interface_settings { sub network_scan_is_slow { 0 } #- override to return 1 if the hardware check is slow sub check_hardware_is_slow { 0 } +#- override to return 1 if only one network is supported +sub has_unique_network { 0 } sub get_network_access_settings_label { N("Network access settings") } sub get_access_settings_label { N("Access settings") } diff --git a/lib/network/connection/cellular_card.pm b/lib/network/connection/cellular_card.pm index f0c9f4b..00f7b39 100644 --- a/lib/network/connection/cellular_card.pm +++ b/lib/network/connection/cellular_card.pm @@ -83,6 +83,7 @@ sub get_control_device { sub network_scan_is_slow() { 1 } sub check_hardware_is_slow() { 1 } +sub has_unique_network() { 1 } sub get_networks { my ($self) = @_; |