summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-04-16 23:15:15 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-04-16 23:15:15 +0000
commitbe9fd894f1a0663acee027ec95c576c20af070f4 (patch)
treed7edb73fa7a97cf342947c52a786308d949fed0e /usr
parent22fbc24c55af210f3ccc80297ff60bd850de04a0 (diff)
downloadpfsense-be9fd894f1a0663acee027ec95c576c20af070f4.zip
pfsense-be9fd894f1a0663acee027ec95c576c20af070f4.tar.gz
Use posted IP address.
Diffstat (limited to 'usr')
-rw-r--r--usr/local/www/wizards/setup_wizard.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/wizards/setup_wizard.xml b/usr/local/www/wizards/setup_wizard.xml
index 7591704..87de631 100644
--- a/usr/local/www/wizards/setup_wizard.xml
+++ b/usr/local/www/wizards/setup_wizard.xml
@@ -393,7 +393,7 @@
</fields>
<stepsubmitphpaction>
$ip = $_POST['adminpassword'];
- $ft = split("\.", $ip);
+ $ft = split("\.", $_POST['ip']);
$ft_ip = $ft[0] . "." . $ft[1] . "." . $ft[2] . ".";
$config['dhcpd']['lan']['range']['from'] = $ft_ip . ".100";
$config['dhcpd']['lan']['range']['to'] = $ft_ip . ".250";
OpenPOWER on IntegriCloud