summaryrefslogtreecommitdiffstats
path: root/dhcp_wizard
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2006-01-03 17:21:06 +0000
committerOlivier Blin <oblin@mandriva.org>2006-01-03 17:21:06 +0000
commit039043dce270c730cd0880b30f18fd0665a8d5f9 (patch)
tree7fbc4332363731a88404cd2d9baacd721afdd548 /dhcp_wizard
parent9518e6f02ba555d798877604c8f50daf44486f45 (diff)
downloaddrakwizard-039043dce270c730cd0880b30f18fd0665a8d5f9.tar
drakwizard-039043dce270c730cd0880b30f18fd0665a8d5f9.tar.gz
drakwizard-039043dce270c730cd0880b30f18fd0665a8d5f9.tar.bz2
drakwizard-039043dce270c730cd0880b30f18fd0665a8d5f9.tar.xz
drakwizard-039043dce270c730cd0880b30f18fd0665a8d5f9.zip
bless directly the wizard object instead of wrapping it in a hash
Diffstat (limited to 'dhcp_wizard')
-rwxr-xr-xdhcp_wizard/Dhcp.pm6
1 files changed, 2 insertions, 4 deletions
diff --git a/dhcp_wizard/Dhcp.pm b/dhcp_wizard/Dhcp.pm
index 7b8f3665..63e5b09a 100755
--- a/dhcp_wizard/Dhcp.pm
+++ b/dhcp_wizard/Dhcp.pm
@@ -275,10 +275,8 @@ mask = $wiz_ip_netmask, rng1 = $wiz_ip_range1, rng2 = $wiz_ip_range2, dname = $w
}
sub new {
- my ($class, $conf) = @_;
- bless {
- o => $o,
- }, $class;
+ my ($class) = @_;
+ bless $o, $class;
}
1;