From 0b450336a957f2046b379a614c79b8ac696c35bc Mon Sep 17 00:00:00 2001 From: dennis Date: Fri, 29 Jan 2021 22:15:28 +0000 Subject: [PATCH] Marshal flower rules --- attributeTcMsg.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/attributeTcMsg.go b/attributeTcMsg.go index 0b6e8b5..d35e115 100644 --- a/attributeTcMsg.go +++ b/attributeTcMsg.go @@ -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 {