Revision 37d4cbf3
Added by Warren Baker about 11 years ago
usr/local/www/bandwidth_by_ip.php | ||
---|---|---|
57 | 57 |
$iplookup = array(); |
58 | 58 |
// If hostname display is requested and the DNS forwarder does not already have DHCP static names registered, |
59 | 59 |
// then load the DHCP static mappings into an array keyed by IP address. |
60 |
if (($hostipformat != "") && (!isset($config['dnsmasq']['enable']) || !isset($config['dnsmasq']['regdhcpstatic']))) { |
|
60 |
if (($hostipformat != "") && ((!isset($config['dnsmasq']['enable']) || !isset($config['dnsmasq']['regdhcpstatic'])) |
|
61 |
|| (!isset($config['unbound']['enable']) || !isset($config['unbound']['regdhcpstatic'])))) { |
|
61 | 62 |
if (is_array($config['dhcpd'])) { |
62 | 63 |
foreach ($config['dhcpd'] as $ifdata) { |
63 | 64 |
if (is_array($ifdata['staticmap'])) { |
Also available in: Unified diff
Include Unbound in logic here