summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/interfaces.php
diff options
context:
space:
mode:
authorChris Buechler <cmb@pfsense.org>2016-03-01 19:51:17 -0600
committerChris Buechler <cmb@pfsense.org>2016-03-01 19:51:17 -0600
commit5d314c0a2c28064fd41b93a6c495982c0a13ee6b (patch)
treee380404538addd83f56b257cd79d158ad8070275 /src/usr/local/www/interfaces.php
parent8332312ba1ac1d736b7ef60573060c12203d54c9 (diff)
downloadpfsense-5d314c0a2c28064fd41b93a6c495982c0a13ee6b.zip
pfsense-5d314c0a2c28064fd41b93a6c495982c0a13ee6b.tar.gz
Fix DHCPv6 server check to allow track6. Ticket #3029
Diffstat (limited to 'src/usr/local/www/interfaces.php')
-rw-r--r--src/usr/local/www/interfaces.php2
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.");
}
OpenPOWER on IntegriCloud