diff options
Diffstat (limited to 'src/expr/counter.c')
-rw-r--r-- | src/expr/counter.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/expr/counter.c b/src/expr/counter.c index 633db3e..129f32e 100644 --- a/src/expr/counter.c +++ b/src/expr/counter.c @@ -160,7 +160,7 @@ nft_rule_expr_counter_xml_parse(struct nft_rule_expr *e, char *xml) return -1; } - ctr->pkts = (uint64_t)tmp; + ctr->pkts = tmp; e->flags |= (1 << NFT_EXPR_CTR_PACKETS); } @@ -174,7 +174,7 @@ nft_rule_expr_counter_xml_parse(struct nft_rule_expr *e, char *xml) return -1; } - ctr->bytes = (uint64_t)tmp; + ctr->bytes = tmp; e->flags |= (1 << NFT_EXPR_CTR_BYTES); } |