Committed by
Gerrit Code Review
Reverting to previous iteration mode, fixing case of modifying existing tags and adding extra checks
- Reverting iteration through meta instructions to earlier mode Assuming instructions appear in the order they were added - Saving explicitly provided VlanId to new variable modifiedVlan: modifiedVlan is the value to be used when modifying existing tag assignedVlan is the value to be pushed to untagged packets pushedVlan is the value to be pushed to tagged packets (i.e. when pushVlan == true) - Extra checks added for the following cases: Do not allow to pop tag after modifying existing tag Do not allow to modify a tag after pushing a new tag Do not allow including multiple modify VLAN operations Change-Id: I92801e3845a2ca1e88181698cb0ba3c22224acf4
Showing
2 changed files
with
88 additions
and
11 deletions
-
Please register or login to post a comment