diff options
author | Renato Botelho <garga@FreeBSD.org> | 2013-12-23 14:40:09 -0200 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2013-12-23 14:40:50 -0200 |
commit | 079c2927622510cf34b3ccc225b9193143534c76 (patch) | |
tree | 5b64e884f264eb9356873da46e5bdaf68b3e4ec9 | |
parent | 26b6e7586ec08a9dedaa303875d68b27cb2fdf79 (diff) | |
download | pfsense-079c2927622510cf34b3ccc225b9193143534c76.zip pfsense-079c2927622510cf34b3ccc225b9193143534c76.tar.gz |
Remove 'deny unknown clients' option from DHCPv6 since it's not supported, it fixes #3364
-rw-r--r-- | etc/inc/services.inc | 3 | ||||
-rw-r--r-- | usr/local/www/services_dhcpv6.php | 10 |
2 files changed, 0 insertions, 13 deletions
diff --git a/etc/inc/services.inc b/etc/inc/services.inc index 4f3696b..cb79d72 100644 --- a/etc/inc/services.inc +++ b/etc/inc/services.inc @@ -1086,9 +1086,6 @@ EOD; } $dhcpdv6conf .= " {\n"; - if (isset($dhcpv6ifconf['denyunknown'])) - $dhcpdv6conf .= " deny unknown-clients;\n"; - $dhcpdv6conf .= <<<EOD range6 {$dhcpv6ifconf['range']['from']} {$dhcpv6ifconf['range']['to']}; $dnscfgv6 diff --git a/usr/local/www/services_dhcpv6.php b/usr/local/www/services_dhcpv6.php index e1df278..238497f 100644 --- a/usr/local/www/services_dhcpv6.php +++ b/usr/local/www/services_dhcpv6.php @@ -108,7 +108,6 @@ if (is_array($config['dhcpdv6'][$if])){ list($pconfig['wins1'],$pconfig['wins2']) = $config['dhcpdv6'][$if]['winsserver']; list($pconfig['dns1'],$pconfig['dns2']) = $config['dhcpdv6'][$if]['dnsserver']; $pconfig['enable'] = isset($config['dhcpdv6'][$if]['enable']); - $pconfig['denyunknown'] = isset($config['dhcpdv6'][$if]['denyunknown']); $pconfig['ddnsdomain'] = $config['dhcpdv6'][$if]['ddnsdomain']; $pconfig['ddnsupdate'] = isset($config['dhcpdv6'][$if]['ddnsupdate']); list($pconfig['ntp1'],$pconfig['ntp2']) = $config['dhcpdv6'][$if]['ntpserver']; @@ -293,7 +292,6 @@ if ($_POST) { $config['dhcpdv6'][$if]['domain'] = $_POST['domain']; $config['dhcpdv6'][$if]['domainsearchlist'] = $_POST['domainsearchlist']; - $config['dhcpdv6'][$if]['denyunknown'] = ($_POST['denyunknown']) ? true : false; $config['dhcpdv6'][$if]['enable'] = ($_POST['enable']) ? true : false; $config['dhcpdv6'][$if]['ddnsdomain'] = $_POST['ddnsdomain']; $config['dhcpdv6'][$if]['ddnsupdate'] = ($_POST['ddnsupdate']) ? true : false; @@ -407,7 +405,6 @@ include("head.inc"); document.iform.nextserver.disabled = endis; document.iform.filename.disabled = endis; document.iform.rootpath.disabled = endis; - document.iform.denyunknown.disabled = endis; } function show_shownumbervalue() { @@ -529,13 +526,6 @@ display_top_tabs($tab_array); "interface"),htmlspecialchars($iflist[$if]));?></strong></td> </tr> <tr> - <td width="22%" valign="top" class="vtable"> </td> - <td width="78%" class="vtable"> - <input name="denyunknown" id="denyunknown" type="checkbox" value="yes" <?php if ($pconfig['denyunknown']) echo "checked"; ?>> - <strong><?=gettext("Deny unknown clients");?></strong><br> - <?=gettext("If this is checked, only the clients defined below will get DHCP leases from this server. ");?></td> - </tr> - <tr> <?php /* the PPPoE Server could well have no IPv6 address and operate fine with just link-local, just hide these */ if(is_ipaddrv6($ifcfgip)) { |