summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--etc/inc/services.inc3
-rw-r--r--usr/local/www/services_dhcpv6.php13
2 files changed, 0 insertions, 16 deletions
diff --git a/etc/inc/services.inc b/etc/inc/services.inc
index 87e3abe..a6db67c 100644
--- a/etc/inc/services.inc
+++ b/etc/inc/services.inc
@@ -1072,9 +1072,6 @@ EOD;
}
$dhcpdv6conf .= " {\n";
- if($dhcpv6ifconf['failover_peerip'] <> "")
- $dhcpdv6conf .= " deny dynamic bootp clients;\n";
-
if (isset($dhcpv6ifconf['denyunknown']))
$dhcpdv6conf .= " deny unknown-clients;\n";
diff --git a/usr/local/www/services_dhcpv6.php b/usr/local/www/services_dhcpv6.php
index ce87acd..09a4696 100644
--- a/usr/local/www/services_dhcpv6.php
+++ b/usr/local/www/services_dhcpv6.php
@@ -277,11 +277,6 @@ if ($_POST) {
$config['dhcpdv6'][$if]['defaultleasetime'] = $_POST['deftime'];
$config['dhcpdv6'][$if]['maxleasetime'] = $_POST['maxtime'];
$config['dhcpdv6'][$if]['netmask'] = $_POST['netmask'];
- $previous = $config['dhcpdv6'][$if]['failover_peerip'];
- if($previous <> $_POST['failover_peerip'])
- mwexec("/bin/rm -rf /var/dhcpd/var/db/*");
-
- $config['dhcpdv6'][$if]['failover_peerip'] = $_POST['failover_peerip'];
unset($config['dhcpdv6'][$if]['winsserver']);
@@ -392,7 +387,6 @@ include("head.inc");
document.iform.deftime.disabled = endis;
document.iform.maxtime.disabled = endis;
//document.iform.gateway.disabled = endis;
- document.iform.failover_peerip.disabled = endis;
document.iform.dhcpv6leaseinlocaltime.disabled = endis;
document.iform.domain.disabled = endis;
document.iform.domainsearchlist.disabled = endis;
@@ -654,13 +648,6 @@ display_top_tabs($tab_array);
</td>
</tr>
<tr>
- <td width="22%" valign="top" class="vncell"><?=gettext("Failover peer IP:");?></td>
- <td width="78%" class="vtable">
- <input name="failover_peerip" type="text" class="formfld host" id="failover_peerip" size="28" value="<?=htmlspecialchars($pconfig['failover_peerip']);?>"><br>
- <?=gettext("Leave blank to disable. Enter the interface IP address of the other machine. Machines must be using CARP.");?>
- </td>
- </tr>
- <tr>
<td width="22%" valign="top" class="vncell"><?=gettext("Time format change"); ?></td>
<td width="78%" class="vtable">
<table>
OpenPOWER on IntegriCloud