diff options
author | Warren Baker <warren@decoy.co.za> | 2014-04-28 22:26:03 +0200 |
---|---|---|
committer | Warren Baker <warren@decoy.co.za> | 2014-04-28 22:26:03 +0200 |
commit | 37d4cbf3be1937c9c5fd61ff914261a9fb737c57 (patch) | |
tree | 233486209a314d2ffbbe7591ce0b9b5ad6ca7469 /usr/local/www | |
parent | 3453affc39af184682f5c2f3c698ea0e3ee02b02 (diff) | |
download | pfsense-37d4cbf3be1937c9c5fd61ff914261a9fb737c57.zip pfsense-37d4cbf3be1937c9c5fd61ff914261a9fb737c57.tar.gz |
Include Unbound in logic here
Diffstat (limited to 'usr/local/www')
-rwxr-xr-x | usr/local/www/bandwidth_by_ip.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr/local/www/bandwidth_by_ip.php b/usr/local/www/bandwidth_by_ip.php index 3bad998..74697e6 100755 --- a/usr/local/www/bandwidth_by_ip.php +++ b/usr/local/www/bandwidth_by_ip.php @@ -57,7 +57,8 @@ $hostipformat = $_GET['hostipformat']; $iplookup = array(); // If hostname display is requested and the DNS forwarder does not already have DHCP static names registered, // then load the DHCP static mappings into an array keyed by IP address. -if (($hostipformat != "") && (!isset($config['dnsmasq']['enable']) || !isset($config['dnsmasq']['regdhcpstatic']))) { +if (($hostipformat != "") && ((!isset($config['dnsmasq']['enable']) || !isset($config['dnsmasq']['regdhcpstatic'])) + || (!isset($config['unbound']['enable']) || !isset($config['unbound']['regdhcpstatic'])))) { if (is_array($config['dhcpd'])) { foreach ($config['dhcpd'] as $ifdata) { if (is_array($ifdata['staticmap'])) { |