diff options
author | Chris Buechler <cmb@pfsense.org> | 2015-09-21 13:26:36 -0500 |
---|---|---|
committer | Chris Buechler <cmb@pfsense.org> | 2015-09-21 13:26:36 -0500 |
commit | 2239959d730d251762ea2b1ec235007a6adad499 (patch) | |
tree | fdf6104d27d03f46d9d2645f539ace33a3b832ee | |
parent | d10e5e90d3ff4729c46ac9aca923068b2e27a66f (diff) | |
download | pfsense-2239959d730d251762ea2b1ec235007a6adad499.zip pfsense-2239959d730d251762ea2b1ec235007a6adad499.tar.gz |
Fix 6rd input validation. Ticket #4935
-rw-r--r-- | src/usr/local/www/interfaces.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usr/local/www/interfaces.php b/src/usr/local/www/interfaces.php index 70d9055..68969af 100644 --- a/src/usr/local/www/interfaces.php +++ b/src/usr/local/www/interfaces.php @@ -656,7 +656,7 @@ if ($_POST['apply']) { } } } - if (!is_ipaddrv4($wancfg['gateway-6rd'])) { + if (!is_ipaddrv4($_POST['gateway-6rd'])) { $input_errors[] = gettext("6RD Border Gateway must be an IPv4 address."); } if (in_array($wancfg['ipaddrv6'], array())) { |