summaryrefslogtreecommitdiffstats
path: root/lib/network/drakconnect.pm
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-03-14 12:25:34 +0000
committerOlivier Blin <oblin@mandriva.com>2008-03-14 12:25:34 +0000
commit2dd11815b455f1bb9510b5c9cf90e4f08f7bfa21 (patch)
treec1a18d9282ca460850d12dfe66239969887a340a /lib/network/drakconnect.pm
parenta2849d2425633eabb21fec8c5903f92b32b7fd79 (diff)
downloaddrakx-net-2dd11815b455f1bb9510b5c9cf90e4f08f7bfa21.tar
drakx-net-2dd11815b455f1bb9510b5c9cf90e4f08f7bfa21.tar.gz
drakx-net-2dd11815b455f1bb9510b5c9cf90e4f08f7bfa21.tar.bz2
drakx-net-2dd11815b455f1bb9510b5c9cf90e4f08f7bfa21.tar.xz
drakx-net-2dd11815b455f1bb9510b5c9cf90e4f08f7bfa21.zip
pass some missing variables
Diffstat (limited to 'lib/network/drakconnect.pm')
-rw-r--r--lib/network/drakconnect.pm5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/network/drakconnect.pm b/lib/network/drakconnect.pm
index dbe2693..ec784cb 100644
--- a/lib/network/drakconnect.pm
+++ b/lib/network/drakconnect.pm
@@ -2,12 +2,13 @@ package network::drakconnect;
use common;
-sub apply() {
+sub apply {
+ my ($in, $net, $modules_conf) = @_;
network::network::configure_network($net, $in, $modules_conf);
}
sub get_intf_ip {
- my ($interface) = @_;
+ my ($net, $interface) = @_;
my ($ip, $state, $mask);
if (-x "/sbin/ifconfig") {
local $_ = `LC_ALL=C LANGUAGE=C /sbin/ifconfig $interface`;