summaryrefslogtreecommitdiffstats
path: root/src/usr/local
diff options
context:
space:
mode:
authorChris Buechler <cmb@pfsense.org>2016-04-02 05:06:31 -0500
committerChris Buechler <cmb@pfsense.org>2016-04-02 05:06:31 -0500
commit75173246398545de3de104648c068444d51175a1 (patch)
tree60072eed82fb0b32be313f100e3fe668d3f45bb3 /src/usr/local
parent83354deaa56b7dd2336b37db5b7733494015d625 (diff)
downloadpfsense-75173246398545de3de104648c068444d51175a1.zip
pfsense-75173246398545de3de104648c068444d51175a1.tar.gz
Allow configuring RAs when DHCPv6 Relay is enabled. Ticket #6063
Diffstat (limited to 'src/usr/local')
-rw-r--r--src/usr/local/www/services_dhcpv6.php9
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');
OpenPOWER on IntegriCloud