diff options
author | Chris Buechler <cmb@pfsense.org> | 2016-03-01 19:51:17 -0600 |
---|---|---|
committer | Chris Buechler <cmb@pfsense.org> | 2016-03-01 19:51:17 -0600 |
commit | 5d314c0a2c28064fd41b93a6c495982c0a13ee6b (patch) | |
tree | e380404538addd83f56b257cd79d158ad8070275 /src/usr/local/www | |
parent | 8332312ba1ac1d736b7ef60573060c12203d54c9 (diff) | |
download | pfsense-5d314c0a2c28064fd41b93a6c495982c0a13ee6b.zip pfsense-5d314c0a2c28064fd41b93a6c495982c0a13ee6b.tar.gz |
Fix DHCPv6 server check to allow track6. Ticket #3029
Diffstat (limited to 'src/usr/local/www')
-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 f80235d..6eeb934 100644 --- a/src/usr/local/www/interfaces.php +++ b/src/usr/local/www/interfaces.php @@ -541,7 +541,7 @@ if ($_POST['apply']) { if (isset($config['dhcpd']) && isset($config['dhcpd'][$if]['enable']) && (!preg_match("/^staticv4/", $_POST['type']))) { $input_errors[] = gettext("The DHCP Server is active on this interface and it can be used only with a static IP configuration. Please disable the DHCP Server service on this interface first, then change the interface configuration."); } - if (isset($config['dhcpdv6']) && isset($config['dhcpdv6'][$if]['enable']) && (!preg_match("/^staticv6/", $_POST['type6']))) { + if (isset($config['dhcpdv6']) && isset($config['dhcpdv6'][$if]['enable']) && ($_POST['type6'] != "staticv6" && $_POST['type6'] != "track6")) { $input_errors[] = gettext("The DHCP6 Server is active on this interface and it can be used only with a static IPv6 configuration. Please disable the DHCPv6 Server service on this interface first, then change the interface configuration."); } |