Project

General

Profile

Bug #494

Additional DHCP options lost on input errors

Added by Chris Buechler about 9 years ago. Updated almost 9 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
DHCP Server
Target version:
Start date:
04/10/2010
Due date:
% Done:

100%

Estimated time:
Affected Version:
2.0
Affected Architecture:

Description

If you define additional DHCP options on services_dhcp.php, along with something that triggers an input error, all the additional DHCP options are lost.

Associated revisions

Revision 6d1af0e9 (diff)
Added by Jim Pingle about 9 years ago

Preserve DHCP numbered options when there is an input error. Fixes #494

History

#1 Updated by Jim Pingle about 9 years ago

  • Assignee set to Jim Pingle

The code that copies the numbered options into $pconfig is inside of a block that is only entered if (!$input_errors) which is why it's getting lost. The other options stay because they are named the same, but the numbered options are copied into an array that is laid out differently.

I'll see if I can come up with a way to fix this.

#2 Updated by Jim Pingle about 9 years ago

  • Status changed from New to Feedback
  • % Done changed from 0 to 100

#3 Updated by Chris Buechler almost 9 years ago

  • Status changed from Feedback to Resolved

fixed

Also available in: Atom PDF