diff options
author | Simon THOBY <git@nightmared.fr> | 2021-10-20 21:33:20 +0200 |
---|---|---|
committer | Simon THOBY <git@nightmared.fr> | 2021-11-02 22:17:44 +0100 |
commit | 180c4d5c8ff86836e0f440d7d0540c02c168c4bf (patch) | |
tree | 889d82104a18cb7fbbcb0774a52bdf2af80b40a8 /rustables/src/expr/mod.rs | |
parent | 2036da41552f5e19d3de08e9bbe4d3bdfea761f0 (diff) |
counter: add the possibility to start from a non-zero value
Diffstat (limited to 'rustables/src/expr/mod.rs')
-rw-r--r-- | rustables/src/expr/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rustables/src/expr/mod.rs b/rustables/src/expr/mod.rs index a86b44d..4493662 100644 --- a/rustables/src/expr/mod.rs +++ b/rustables/src/expr/mod.rs @@ -120,7 +120,7 @@ macro_rules! nft_expr { nft_expr_cmp!($op $data) }; (counter) => { - $crate::expr::Counter + $crate::expr::Counter { nb_bytes: 0, nb_packets: 0} }; (ct $key:ident set) => { nft_expr_ct!($key set) |