Ticket #45078

generate_packets.py: allow multiple add-cap and remove-cap

Open Date: 2022-07-11 04:13 Last Update: 2022-07-12 19:15

Reporter:
Owner:
Type:
Status:
Closed
Component:
MileStone:
Priority:
5 - Medium
Severity:
5 - Medium
Resolution:
Fixed
File:
1

Details

Part of #43927. Current handling of allowing only either an add-cap, or a remove-cap (or neither) actually makes some things more unwieldy than just supporting any number of them would ~> generalize current behavior to any number of caps (even mixed).

Ticket History (3/4 Histories)

2022-07-11 04:13 Updated by: alienvalkyrie
  • New Ticket "generate_packets.py: allow multiple add-cap and remove-cap" created
2022-07-11 04:50 Updated by: alienvalkyrie
  • Resolution Update from None to Accepted
Comment

The new behavior (which is the only way to be consistent with the old behavior) is as follows:

  • If there are multiple add-caps, all of them must be present
  • If there are multiple remove-caps, none of them may be present
  • If there are both, then both conditions must be true
2022-07-12 19:15 Updated by: alienvalkyrie
  • Status Update from Open to Closed
  • Resolution Update from Accepted to Fixed

Edit

Please login to add comment to this ticket » Login