summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/services_dhcpv6_edit.php
diff options
context:
space:
mode:
authork-paulius <k.dash.paulius@gmail.com>2016-02-13 23:53:38 -0600
committerk-paulius <k.dash.paulius@gmail.com>2016-02-13 23:53:38 -0600
commit253fa0197f82883766c971cd09b83d87dc3bb008 (patch)
treeca05b057c5460060271713347025055235654652 /src/usr/local/www/services_dhcpv6_edit.php
parentfa94122bdfbaa4c58d879d87ecb64a0d1b3e5730 (diff)
downloadpfsense-253fa0197f82883766c971cd09b83d87dc3bb008.zip
pfsense-253fa0197f82883766c971cd09b83d87dc3bb008.tar.gz
Show interface name in the breadcrumb on DHCPv6 Server page
Diffstat (limited to 'src/usr/local/www/services_dhcpv6_edit.php')
-rw-r--r--src/usr/local/www/services_dhcpv6_edit.php8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/usr/local/www/services_dhcpv6_edit.php b/src/usr/local/www/services_dhcpv6_edit.php
index 0c27b1e..81698b9 100644
--- a/src/usr/local/www/services_dhcpv6_edit.php
+++ b/src/usr/local/www/services_dhcpv6_edit.php
@@ -214,7 +214,13 @@ if ($_POST) {
}
}
-$pgtitle = array(gettext("Services"), gettext("DHCPv6 Server"), gettext("Edit Static Mapping"));
+$iflist = get_configured_interface_with_descr();
+$ifname = '';
+
+if (!empty($if) && isset($iflist[$if])) {
+ $ifname = $iflist[$if];
+}
+$pgtitle = array(gettext("Services"), gettext("DHCPv6 Server/RA"), $ifname, gettext("DHCPv6 Server"), gettext("Edit Static Mapping"));
$shortcut_section = "dhcp6";
include("head.inc");
OpenPOWER on IntegriCloud