diff options
author | Phil Davis <phil.davis@inf.org> | 2014-12-28 16:36:53 +0545 |
---|---|---|
committer | Phil Davis <phil.davis@inf.org> | 2014-12-28 16:36:53 +0545 |
commit | db88a3a261c482195d929a2ab9eaee29aae59ae0 (patch) | |
tree | 5acf4e477619889b40b98b9a6ea3049bcd1cf9bb /usr/local/www/shortcuts.inc | |
parent | cccee755846ccfce15340e00cb3005ec3b90954f (diff) | |
download | pfsense-db88a3a261c482195d929a2ab9eaee29aae59ae0.zip pfsense-db88a3a261c482195d929a2ab9eaee29aae59ae0.tar.gz |
Fix unbound shortcut links
Fixes redmine #4151
1) Make the naming in shortcuts.inc more clear - forwarder=dnsmasq
resolver=unbound
2) Make the value of $shortcuts_section correct in each dnsmasq and
unbound php code
3) Make diag_logs_resolver.php smarter, so if dnsmasq is enabled, then
show shortcuts for dnsmasq, otherwise show shortcuts for unbound.
4) Fix some references to forwarder in unbound code - should be
resolver.
Diffstat (limited to 'usr/local/www/shortcuts.inc')
-rw-r--r-- | usr/local/www/shortcuts.inc | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/usr/local/www/shortcuts.inc b/usr/local/www/shortcuts.inc index a99f35c..1b141cf 100644 --- a/usr/local/www/shortcuts.inc +++ b/usr/local/www/shortcuts.inc @@ -220,15 +220,15 @@ $shortcuts['trafficshaper-limiters'] = array(); $shortcuts['trafficshaper-limiters']['main'] = "firewall_shaper_vinterface.php"; $shortcuts['trafficshaper-limiters']['status'] = "diag_limiter_info.php"; +$shortcuts['forwarder'] = array(); +$shortcuts['forwarder']['main'] = "services_dnsmasq.php"; +$shortcuts['forwarder']['log'] = "diag_logs_resolver.php"; +$shortcuts['forwarder']['service'] = "dnsmasq"; + $shortcuts['resolver'] = array(); -$shortcuts['resolver']['main'] = "services_dnsmasq.php"; +$shortcuts['resolver']['main'] = "services_unbound.php"; $shortcuts['resolver']['log'] = "diag_logs_resolver.php"; -$shortcuts['resolver']['service'] = "dnsmasq"; - -$shortcuts['unbound'] = array(); -$shortcuts['unbound']['main'] = "services_unbound.php"; -$shortcuts['unbound']['log'] = "diag_logs_resolver.php"; -$shortcuts['unbound']['service'] = "unbound"; +$shortcuts['resolver']['service'] = "unbound"; $shortcuts['wireless'] = array(); $shortcuts['wireless']['main'] = "interfaces_wireless.php"; |