summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/Wizcommon.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/Wizcommon.pm b/common/Wizcommon.pm
index 6ade7ec8..36f9c53b 100644
--- a/common/Wizcommon.pm
+++ b/common/Wizcommon.pm
@@ -25,11 +25,11 @@ use MDK::Wizard::IFCFG;
my $net;
sub check_dhcp {
- $net->is_dhcp() and return 'dhcp_warning';
+ $net->is_dhcp and return 'dhcp_warning';
}
sub new {
- my ($class, $conf) = @_;
+ my ($class, $_conf) = @_;
$net = new MDK::Wizard::IFCFG;
bless {
net => $net,