enable redir and nat decoders (#73)
Signed-off-by: Serguei Bezverkhi <sbezverk@cisco.com>
This commit is contained in:
parent
e0f4f3f8f8
commit
26aec69f06
4
rule.go
4
rule.go
|
@ -192,6 +192,10 @@ func exprsFromMsg(b []byte) ([]expr.Any, error) {
|
||||||
e = &expr.Immediate{}
|
e = &expr.Immediate{}
|
||||||
case "bitwise":
|
case "bitwise":
|
||||||
e = &expr.Bitwise{}
|
e = &expr.Bitwise{}
|
||||||
|
case "redir":
|
||||||
|
e = &expr.Redir{}
|
||||||
|
case "nat":
|
||||||
|
e = &expr.NAT{}
|
||||||
}
|
}
|
||||||
if e == nil {
|
if e == nil {
|
||||||
// TODO: introduce an opaque expression type so that users know
|
// TODO: introduce an opaque expression type so that users know
|
||||||
|
|
Loading…
Reference in New Issue