summaryrefslogtreecommitdiffstats
path: root/web_wizard/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'web_wizard/scripts')
-rw-r--r--web_wizard/scripts/Webconf.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/web_wizard/scripts/Webconf.pm b/web_wizard/scripts/Webconf.pm
index fa815aee..4da50a82 100644
--- a/web_wizard/scripts/Webconf.pm
+++ b/web_wizard/scripts/Webconf.pm
@@ -2,12 +2,12 @@
package Webconf;
require "__WIZ_HOME__/common/scripts/Varspaceval.pm";
-require "__WIZ_HOME__/common/scripts/DrakconnectConf.pm";
+require "__WIZ_HOME__/common/scripts/IFCFG.pm";
use MDK::Common;
use strict;
-my $o = DrakconnectConf->new();
+my $o = IFCFG->new();
sub check {
$> and return 1;
@@ -91,7 +91,7 @@ sub do_it {
$that = "all";
}
elsif ($ENV{wiz_web_internal} eq "1") {
- ($that) = $o->get_from_known_dev("IP") =~ qr/^(\d{1,3}\.\d{1,3}\.\d{1,3}\.)\d{1,3}$/;
+ ($that) = $o->itf_get("IPADDR") =~ qr/^(\d{1,3}\.\d{1,3}\.\d{1,3}\.)\d{1,3}$/;
$that .= " 127.0.0.1";
}
cp_af($file, $file.".orig");