diff options
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/www/interfaces_opt.php | 3 |
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']) { |