Actions
Bug #4973
closedDHCP Relay broken
Description
Enable DHCP relay, choose an interface, fill in a server IP and hit save. You end up with a 0 in the returned page for the server IP, and the following error spit out.
Warning: explode() expects parameter 2 to be string, array given in /usr/local/www/services_dhcp_relay.php on line 109 Call Stack: 0.0001 234928 1. {main}() /usr/local/www/services_dhcp_relay.php:0 0.0264 1302944 2. explode() /usr/local/www/services_dhcp_relay.php:109 Warning: Invalid argument supplied for foreach() in /usr/local/www/services_dhcp_relay.php on line 110 Call Stack: 0.0001 234928 1. {main}() /usr/local/www/services_dhcp_relay.php:0
Updated by Anonymous over 9 years ago
- Status changed from Confirmed to Feedback
- Assignee set to Chris Buechler
Programmer changes the server control to use an array of IPs but had not changed the config interface to understand that. A filter was needlessly introduced to remove any empty array elements, and this broke all but the first IP.
Actions