From 2dd11815b455f1bb9510b5c9cf90e4f08f7bfa21 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Fri, 14 Mar 2008 12:25:34 +0000 Subject: pass some missing variables --- lib/network/drakconnect.pm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'lib/network/drakconnect.pm') 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`; -- cgit v1.2.1