diff options
author | Phil Davis <phil.davis@inf.org> | 2014-12-28 16:36:53 +0545 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2014-12-28 13:45:15 -0500 |
commit | 8f6875de0314b65bfe9393eff7ea3897fb9cb89c (patch) | |
tree | acf20e6d917b6266e3fc8d40105d599be2c034b2 /usr/local/www/shortcuts.inc | |
parent | e63734ff1db32be51f7b7956ec525361b75ac2a0 (diff) | |
download | pfsense-8f6875de0314b65bfe9393eff7ea3897fb9cb89c.zip pfsense-8f6875de0314b65bfe9393eff7ea3897fb9cb89c.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"; |