summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/drakconnect
diff options
context:
space:
mode:
authorDamien Chaumette <dchaumette@mandriva.com>2003-05-07 15:38:42 +0000
committerDamien Chaumette <dchaumette@mandriva.com>2003-05-07 15:38:42 +0000
commit6eeb93b81a91e5af4d9c70e3f9e87d92c077f7fc (patch)
tree48a0eb5b8ddd13bc88bdf6b6ddf481f77c16b455 /perl-install/standalone/drakconnect
parent44ba511ddbbcc63a32f44d009c9e18d955e6d3cc (diff)
downloaddrakx-6eeb93b81a91e5af4d9c70e3f9e87d92c077f7fc.tar
drakx-6eeb93b81a91e5af4d9c70e3f9e87d92c077f7fc.tar.gz
drakx-6eeb93b81a91e5af4d9c70e3f9e87d92c077f7fc.tar.bz2
drakx-6eeb93b81a91e5af4d9c70e3f9e87d92c077f7fc.tar.xz
drakx-6eeb93b81a91e5af4d9c70e3f9e87d92c077f7fc.zip
- follow new network::netconnect::save_conf signature
- remove call to network::netconnect::set_net_conf, no longer exist
Diffstat (limited to 'perl-install/standalone/drakconnect')
-rwxr-xr-xperl-install/standalone/drakconnect3
1 files changed, 1 insertions, 2 deletions
diff --git a/perl-install/standalone/drakconnect b/perl-install/standalone/drakconnect
index 18682f807..06b37006c 100755
--- a/perl-install/standalone/drakconnect
+++ b/perl-install/standalone/drakconnect
@@ -276,7 +276,6 @@ $combo1->entry->signal_connect('changed', sub {
network::netconnect::set_profile($netcnx, $combo1->entry->get_text());
network::netconnect::load_conf($netcnx, $netc, $intf);
$netcnx->{$_} = $netc->{$_} foreach qw(NET_DEVICE NET_INTERFACE);
- network::netconnect::set_net_conf($netcnx, $netc);
update();
$button_apply->set_sensitive(1);
});
@@ -312,7 +311,7 @@ sub build_list() {
sub apply() {
$old_profile = $netcnx->{PROFILE} || "default";
- network::netconnect::save_conf($netcnx, $netc, $intf);
+ network::netconnect::save_conf($netcnx);
$netcnx->{type} eq 'modem' and network::modem::ppp_configure($in, $netcnx->{$netcnx->{type}});
$netcnx->{type} eq 'isdn_internal' and network::isdn::isdn_write_config_backend($netcnx->{$netcnx->{type}}, $netc, $netcnx); #$light