Project

General

Profile

Actions

Bug #4973

closed

DHCP Relay broken

Added by Chris Buechler over 8 years ago. Updated over 8 years ago.

Status:
Resolved
Priority:
Normal
Target version:
-
Start date:
08/18/2015
Due date:
% Done:

0%

Estimated time:
Spent time:

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
Actions #1

Updated by Anonymous over 8 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 #2

Updated by Chris Buechler over 8 years ago

  • Status changed from Feedback to Resolved

works

Actions

Also available in: Atom PDF