Reject expression fix (#206)

Added missing reject expression to exprsFromMsg
This commit is contained in:
turekt 2022-11-07 19:04:33 +00:00 committed by GitHub
parent 0dda43a5f9
commit 130caa4c31
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -130,6 +130,8 @@ func exprsFromBytes(fam byte, ad *netlink.AttributeDecoder, b []byte) ([]Any, er
e = &Queue{}
case "flow_offload":
e = &FlowOffload{}
case "reject":
e = &Reject{}
}
if e == nil {
// TODO: introduce an opaque expression type so that users know