diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2021-06-08 20:00:05 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2021-06-08 20:08:26 +0200 |
commit | ed7c442c2d044270b94b61c45fc3753f536c4ed6 (patch) | |
tree | 1863d5657165a6a6262ff3a3af9e031e3d3e93ba /src/expr_ops.c | |
parent | 7af5f32171b3f68415d3f783a343f9dfce6055fb (diff) |
expr: add last match time support
This new expression displays when last matching has happened.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/expr_ops.c')
-rw-r--r-- | src/expr_ops.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/expr_ops.c b/src/expr_ops.c index 3538dd6..7248e4f 100644 --- a/src/expr_ops.c +++ b/src/expr_ops.c @@ -14,6 +14,7 @@ extern struct expr_ops expr_ops_dup; extern struct expr_ops expr_ops_exthdr; extern struct expr_ops expr_ops_fwd; extern struct expr_ops expr_ops_immediate; +extern struct expr_ops expr_ops_last; extern struct expr_ops expr_ops_limit; extern struct expr_ops expr_ops_log; extern struct expr_ops expr_ops_lookup; @@ -57,6 +58,7 @@ static struct expr_ops *expr_ops[] = { &expr_ops_exthdr, &expr_ops_fwd, &expr_ops_immediate, + &expr_ops_last, &expr_ops_limit, &expr_ops_log, &expr_ops_lookup, |