Revision 29721fe6
Added by Scott Ullrich about 15 years ago
etc/inc/services.inc | ||
---|---|---|
612 | 612 |
} |
613 | 613 |
|
614 | 614 |
/* Allow DNS Rebind for forwarded domains */ |
615 |
if($config['dnsmasq']['domainoverrides']) {
|
|
615 |
if (isset($config['dnsmasq']['domainoverrides']) && is_array($config['dnsmasq']['domainoverrides'])) {
|
|
616 | 616 |
foreach($config['dnsmasq']['domainoverrides'] as $override) { |
617 | 617 |
$args .= ' --rebind-domain-ok=/' . $override['domain'] . '/ '; |
618 | 618 |
} |
Also available in: Unified diff
duplicate logic