diff options
author | Chris Buechler <cmb@pfsense.org> | 2016-04-02 05:06:31 -0500 |
---|---|---|
committer | Chris Buechler <cmb@pfsense.org> | 2016-04-02 05:07:15 -0500 |
commit | 40f00b738cd8185d2c332483c0ea4a455b40780c (patch) | |
tree | d2604c7d6af76c2afa9b1665c570b7a6d61e9257 | |
parent | 3e45ce41f232a9500b8457daa1f0fc83eca887b3 (diff) | |
download | pfsense-40f00b738cd8185d2c332483c0ea4a455b40780c.zip pfsense-40f00b738cd8185d2c332483c0ea4a455b40780c.tar.gz |
Allow configuring RAs when DHCPv6 Relay is enabled. Ticket #6063
-rw-r--r-- | src/usr/local/www/services_dhcpv6.php | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/usr/local/www/services_dhcpv6.php b/src/usr/local/www/services_dhcpv6.php index 9da4609..af25b2b 100644 --- a/src/usr/local/www/services_dhcpv6.php +++ b/src/usr/local/www/services_dhcpv6.php @@ -504,7 +504,7 @@ if ($_GET['act'] == "del") { $pgtitle = array(gettext("Services"), htmlspecialchars(gettext("DHCPv6 Server & RA"))); -if (!empty($if) && !$dhcrelay_enabled && isset($iflist[$if])) { +if (!empty($if) && isset($iflist[$if])) { $pgtitle[] = $iflist[$if]; $pgtitle[] = gettext("DHCPv6 Server"); } @@ -522,8 +522,6 @@ if ($savemsg) { if ($dhcrelay_enabled) { print_info_box(gettext("DHCPv6 Relay is currently enabled. Cannot enable the DHCPv6 Server service while the DHCPv6 Relay is enabled on any interface."), 'danger', false); - include("foot.inc"); - exit; } if (is_subsystem_dirty('staticmaps')) { @@ -590,6 +588,11 @@ $tab_array[] = array(gettext("DHCPv6 Server"), true, "services_dhcpv6.php?if={ $tab_array[] = array(gettext("Router Advertisements"), false, "services_router_advertisements.php?if={$if}"); display_top_tabs($tab_array, false, 'nav nav-tabs'); +if ($dhcrelay_enabled) { + include("foot.inc"); + exit; +} + $form = new Form(); $section = new Form_Section('DHCPv6 Options'); |