summaryrefslogtreecommitdiffstats
path: root/usr/local/www
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-08-04 00:05:32 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-08-04 00:05:32 +0000
commitf169d6ca2ebff2bd4049742fe8f4a3987cedc67c (patch)
tree48dd3b723438053b0e2f276b10072dfe01e4a446 /usr/local/www
parent4c73bfd6c70cda5c1920c1cb449371e0331da776 (diff)
downloadpfsense-f169d6ca2ebff2bd4049742fe8f4a3987cedc67c.zip
pfsense-f169d6ca2ebff2bd4049742fe8f4a3987cedc67c.tar.gz
Correctly write out /tmp/ file
Diffstat (limited to 'usr/local/www')
-rwxr-xr-xusr/local/www/interfaces_opt.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr/local/www/interfaces_opt.php b/usr/local/www/interfaces_opt.php
index bc28cd6..a27f5e9 100755
--- a/usr/local/www/interfaces_opt.php
+++ b/usr/local/www/interfaces_opt.php
@@ -74,11 +74,12 @@ if ($optcfg['ipaddr'] == "dhcp") {
if ($_POST) {
unset($input_errors);
- $pconfig = $_POST;
/* filter out spaces from descriptions */
$POST['descr'] = str_replace(" ", "_", $POST['descr']);
+ $pconfig = $_POST;
+
/* input validation */
if ($_POST['enable']) {
OpenPOWER on IntegriCloud