summaryrefslogtreecommitdiffstats
path: root/src/usr
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2016-12-20 10:02:21 -0200
committerRenato Botelho <renato@netgate.com>2016-12-20 10:02:21 -0200
commitfd67dcd4e96ad1244f33f6600c8dd42c7ae9c59c (patch)
tree8f163e935a7212560b94cd231f103f8598834cc7 /src/usr
parent652ce2b5a6ec23b34eda938aec6ec955c5d1253c (diff)
parent505635302a3d555eb6f82cb552c99c7ecb813f46 (diff)
downloadpfsense-fd67dcd4e96ad1244f33f6600c8dd42c7ae9c59c.zip
pfsense-fd67dcd4e96ad1244f33f6600c8dd42c7ae9c59c.tar.gz
Merge pull request #3295 from marjohn56/No-Release
Diffstat (limited to 'src/usr')
-rw-r--r--src/usr/local/www/interfaces.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/usr/local/www/interfaces.php b/src/usr/local/www/interfaces.php
index 18be1a0..193d9c3 100644
--- a/src/usr/local/www/interfaces.php
+++ b/src/usr/local/www/interfaces.php
@@ -285,6 +285,7 @@ switch ($wancfg['ipaddrv6']) {
$pconfig['dhcp6usev4iface'] = isset($wancfg['dhcp6usev4iface']);
$pconfig['dhcp6debug'] = isset($wancfg['dhcp6debug']);
$pconfig['dhcp6withoutra'] = isset($wancfg['dhcp6withoutra']);
+ $pconfig['dhcp6norelease'] = isset($wancfg['dhcp6norelease']);
break;
case "6to4":
$pconfig['type6'] = "6to4";
@@ -981,6 +982,7 @@ if ($_POST['apply']) {
unset($wancfg['track6-interface']);
unset($wancfg['track6-prefix-id']);
unset($wancfg['dhcp6withoutra']);
+ unset($wancfg['dhcp6norelease']);
unset($wancfg['prefix-6rd']);
unset($wancfg['prefix-6rd-v4plen']);
unset($wancfg['gateway-6rd']);
@@ -1231,6 +1233,9 @@ if ($_POST['apply']) {
if ($_POST['dhcp6withoutra'] == "yes") {
$wancfg['dhcp6withoutra'] = true;
}
+ if ($_POST['dhcp6norelease'] == "yes") {
+ $wancfg['dhcp6norelease'] = true;
+ }
if (!empty($_POST['adv_dhcp6_interface_statement_send_options'])) {
$wancfg['adv_dhcp6_interface_statement_send_options'] = $_POST['adv_dhcp6_interface_statement_send_options'];
}
@@ -2136,6 +2141,12 @@ $section->addInput(new Form_Checkbox(
'Required by some ISPs, especially those not using PPPoE',
$pconfig['dhcp6withoutra']
));
+$section->addInput(new Form_Checkbox(
+ 'dhcp6norelease',
+ 'Do not allow PD/Address release',
+ 'dhcp6c will send a release to the ISP on exit, some ISPs then release the allocated address or prefix. This option prevents that signal ever being sent',
+ $pconfig['dhcp6norelease']
+));
$section->addInput(new Form_Input(
'adv_dhcp6_config_file_override_path',
'Configuration File Override',
OpenPOWER on IntegriCloud