Revision a7377124
Added by Evgeny Yurchenko about 14 years ago
usr/local/www/services_dhcp.php | ||
---|---|---|
156 | 156 |
$a_maps = &$config['dhcpd'][$if]['staticmap']; |
157 | 157 |
} |
158 | 158 |
|
159 |
$ifcfgip = get_interface_ip($if);
|
|
160 |
$ifcfgsn = get_interface_subnet($if);
|
|
159 |
$ifcfgip = $config['interfaces'][$if]['ipaddr'];
|
|
160 |
$ifcfgsn = $config['interfaces'][$if]['subnet'];
|
|
161 | 161 |
|
162 | 162 |
/* set the enabled flag which will tell us if DHCP relay is enabled |
163 | 163 |
* on any interface. We will use this to disable DHCP server since |
Also available in: Unified diff
Bug#1688. DHCP server subnet input validation needs to check config.xml, not ifconfig.