Project

General

Profile

Actions

Bug #8919

closed

DHCP/DHPv6 Relay PHP Error on Save

Added by Jim Pingle about 6 years ago. Updated about 6 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
DHCP Relay
Target version:
Start date:
09/19/2018
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.4.4
Affected Architecture:
All

Description

When saving on DHCP or DHCPv6 relay when the settings tag is empty (e.g. <dhcrelay></dhcrelay>), PHP errors are encountered:

[19-Sep-2018 15:14:49 Etc/UTC] PHP Warning:  Illegal string offset 'enable' in /usr/local/www/services_dhcp_relay.php on line 110
[19-Sep-2018 15:14:49 Etc/UTC] PHP Warning:  Illegal string offset 'interface' in /usr/local/www/services_dhcp_relay.php on line 111
[19-Sep-2018 15:14:49 Etc/UTC] PHP Warning:  Illegal string offset 'agentoption' in /usr/local/www/services_dhcp_relay.php on line 112
[19-Sep-2018 15:14:49 Etc/UTC] PHP Warning:  Cannot assign an empty string to a string offset in /usr/local/www/services_dhcp_relay.php on line 112
[19-Sep-2018 15:14:49 Etc/UTC] PHP Warning:  Illegal string offset 'server' in /usr/local/www/services_dhcp_relay.php on line 113
Actions

Also available in: Atom PDF