expr: Add Hash to the expr type
Add the Hash type to the expr read parser. Signed-off-by: Rafael Campos <methril@gmail.com>
This commit is contained in:
parent
45645ffbf5
commit
98de8c8ac9
|
@ -134,6 +134,8 @@ func exprsFromBytes(fam byte, ad *netlink.AttributeDecoder, b []byte) ([]Any, er
|
|||
e = &Reject{}
|
||||
case "masq":
|
||||
e = &Masq{}
|
||||
case "hash":
|
||||
e = &Hash{}
|
||||
}
|
||||
if e == nil {
|
||||
// TODO: introduce an opaque expression type so that users know
|
||||
|
|
Loading…
Reference in New Issue