Opened 5 years ago

Last modified 4 years ago

#3619 new enhancement

Pkt::delOption() should allow deleting all instances, not one

Reported by: tomek Owned by:
Priority: medium Milestone: Outstanding Tasks
Component: libdhcp Version: git
Keywords: Cc:
CVSS Scoring: Parent Tickets:
Sensitive: no Defect Severity: N/A
Sub-Project: DHCP Feature Depending on Ticket:
Estimated Difficulty: 0 Add Hours to Ticket: 0
Total Hours: 0 Internal?: no

Description

See discussion in #3546.

Marcin says that there may be a need to delete all options of a given option code. Currently,
Pkt::delOption() allows deleting only the first one.

Should be very small ticket. May become marginally bigger if we decide to search for
code that could use it. I don't recall any. One potential place would be REPLY generation,
when we included a couple IA_NAs and later decided to just send a single status code.
I'm not sure if there is such a case supported, though.

Subtickets

Change History (3)

comment:1 Changed 5 years ago by tomek

  • Milestone changed from Kea-proposed to Kea0.9.2

comment:2 Changed 5 years ago by hschempf

  • Milestone changed from Kea0.9.2 to DHCP Outstanding Tasks

comment:3 Changed 4 years ago by tomek

  • Milestone changed from DHCP Outstanding Tasks to Outstanding Tasks

Milestone renamed

Note: See TracTickets for help on using tickets.