diff options
author | Antoine Ginies <aginies@mandriva.com> | 2006-06-20 20:41:48 +0000 |
---|---|---|
committer | Antoine Ginies <aginies@mandriva.com> | 2006-06-20 20:41:48 +0000 |
commit | fa60acb6d2feb2b86924afff15d1124c01a70f7d (patch) | |
tree | 17ef143e33a057f5840b60e0d45be7dc05e42419 | |
parent | d570e736dba4c500198bab19fe5c8e6cc3faefde (diff) | |
download | drakwizard-fa60acb6d2feb2b86924afff15d1124c01a70f7d.tar drakwizard-fa60acb6d2feb2b86924afff15d1124c01a70f7d.tar.gz drakwizard-fa60acb6d2feb2b86924afff15d1124c01a70f7d.tar.bz2 drakwizard-fa60acb6d2feb2b86924afff15d1124c01a70f7d.tar.xz drakwizard-fa60acb6d2feb2b86924afff15d1124c01a70f7d.zip |
use val_ref
-rwxr-xr-x | dhcp_wizard/Dhcp.pm | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/dhcp_wizard/Dhcp.pm b/dhcp_wizard/Dhcp.pm index 63e5b09a..34688f80 100755 --- a/dhcp_wizard/Dhcp.pm +++ b/dhcp_wizard/Dhcp.pm @@ -113,11 +113,11 @@ $o->{pages} = { $o->{var}{pxeornot} = $o->{var}{pxe} ? N("enabled") : N("disabled"); }, data => [ - { label => N("Lowest IP address:"), fixed_val => \$o->{var}{ip1} }, - { label => N("Highest IP address:"), fixed_val => \$o->{var}{ip2} }, - { label => N("Gateway IP address:"), fixed_val => \$o->{var}{gateway} }, - { label => N("Interface:"), fixed_val => \$o->{var}{interface} }, - { label => N("Enable PXE:"), fixed_val => \$o->{var}{pxeornot} }, + { label => N("Lowest IP address:"), val_ref => \$o->{var}{ip1} }, + { label => N("Highest IP address:"), val_ref => \$o->{var}{ip2} }, + { label => N("Gateway IP address:"), val_ref => \$o->{var}{gateway} }, + { label => N("Interface:"), val_ref => \$o->{var}{interface} }, + { label => N("Enable PXE:"), val_ref => \$o->{var}{pxeornot} }, ], post => \&do_it, next => 'end', |