Revision 01cb6a79
Added by Jim Pingle over 6 years ago
src/usr/local/www/services_dnsmasq.php | ||
---|---|---|
93 | 93 |
$config['dnsmasq']['domainoverrides'] = array(); |
94 | 94 |
} |
95 | 95 |
|
96 |
init_config_arr(array('dnsmasq'' ,hosts')); |
|
96 | 97 |
$a_hosts = &$config['dnsmasq']['hosts']; |
97 | 98 |
|
98 | 99 |
// Add a temporary index so we don't lose the order after sorting |
... | ... | |
102 | 103 |
|
103 | 104 |
hosts_sort(); |
104 | 105 |
|
106 |
init_config_arr(array('dnsmasq', 'domainoverrides')); |
|
105 | 107 |
$a_domainOverrides = &$config['dnsmasq']['domainoverrides']; |
106 | 108 |
|
107 | 109 |
// Add a temporary index so we don't lose the order after sorting |
Also available in: Unified diff
Init dnsmasq arrays before referencing. Fixes #8967
(cherry picked from commit 651b4dcb4ed2dc1404cd532a2a53190e77cbcbc4)