Skip to content

Commit

Permalink
Marshal flower rules
Browse files Browse the repository at this point in the history
  • Loading branch information
dennisafa committed Jan 29, 2021
1 parent 28e3966 commit 0b45033
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions attributeTcMsg.go
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,12 @@ func extractTCAOptions(data []byte, tc *Attribute, kind string) error {
return err
}
tc.Flow = info
case "flower":
info := &Flower{}
if err := unmarshalFlower(data, info); err != nil {
return err
}
tc.Flower = info
case "matchall":
info := &Matchall{}
if err := unmarshalMatchall(data, info); err != nil {
Expand Down

0 comments on commit 0b45033

Please sign in to comment.