diff options
author | k-paulius <k.dash.paulius@gmail.com> | 2016-02-04 22:53:29 -0600 |
---|---|---|
committer | k-paulius <k.dash.paulius@gmail.com> | 2016-02-04 22:53:29 -0600 |
commit | 3363c02b75a0acd8a76e06cd714e34f5c3929610 (patch) | |
tree | da463277616c4ca0542bc49f73b418fdc3d03cde /src/usr/local | |
parent | e1e1ab076b99a6cc47fb5fe1e5519a2e686eca45 (diff) | |
download | pfsense-3363c02b75a0acd8a76e06cd714e34f5c3929610.zip pfsense-3363c02b75a0acd8a76e06cd714e34f5c3929610.tar.gz |
Adding ability to run dhcp6c in debug mode.
Diffstat (limited to 'src/usr/local')
-rw-r--r-- | src/usr/local/www/interfaces.php | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/usr/local/www/interfaces.php b/src/usr/local/www/interfaces.php index 79aa634..99adef4 100644 --- a/src/usr/local/www/interfaces.php +++ b/src/usr/local/www/interfaces.php @@ -316,6 +316,7 @@ switch ($wancfg['ipaddrv6']) { $pconfig['type6'] = "dhcp6"; $pconfig['dhcp6prefixonly'] = isset($wancfg['dhcp6prefixonly']); $pconfig['dhcp6usev4iface'] = isset($wancfg['dhcp6usev4iface']); + $pconfig['dhcp6debug'] = isset($wancfg['dhcp6debug']); break; case "6to4": $pconfig['type6'] = "6to4"; @@ -996,6 +997,7 @@ if ($_POST['apply']) { unset($wancfg['dhcp6-ia-pd-send-hint']); unset($wancfg['dhcp6prefixonly']); unset($wancfg['dhcp6usev4iface']); + unset($wancfg['dhcp6debug']); unset($wancfg['track6-interface']); unset($wancfg['track6-prefix-id']); unset($wancfg['prefix-6rd']); @@ -1241,6 +1243,9 @@ if ($_POST['apply']) { if ($_POST['dhcp6usev4iface'] == "yes") { $wancfg['dhcp6usev4iface'] = true; } + if ($_POST['dhcp6debug'] == "yes") { + $wancfg['dhcp6debug'] = true; + } if (!empty($_POST['adv_dhcp6_interface_statement_send_options'])) { $wancfg['adv_dhcp6_interface_statement_send_options'] = $_POST['adv_dhcp6_interface_statement_send_options']; @@ -2121,6 +2126,13 @@ $section->addInput(new Form_Checkbox( $pconfig['dhcp6-ia-pd-send-hint'] )); +$section->addInput(new Form_Checkbox( + 'dhcp6debug', + 'Debug', + 'Start DHCP6 client in debug mode', + $pconfig['dhcp6debug'] +)); + $section->addInput(new Form_Input( 'adv_dhcp6_config_file_override_path', 'Configuration File Override', |