diff options
author | Yanchuan Nian <ycnian@gmail.com> | 2014-06-19 20:23:47 +0800 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2014-06-25 14:13:03 +0200 |
commit | 2a96066f56cb007711d70ac2e60415f0c86f4233 (patch) | |
tree | ea84ecbbb44a10a92954ae3df3be331aaa567cdf /src/segtree.c | |
parent | 6b39cecf634ade76ae6b19c632ef5890639481cb (diff) |
netlink: Correct initial value of bytes counter in nftables rule
Packages can be accounted by nftables through such command.
% nft add rule filter output ip daddr 8.8.8.8 counter
You can also give the initial values of packets and bytes.
% nft add rule filter output ip daddr 8.8.8.8 counter packets 10 bytes 20
But packets and bytes are both initialized to 10 in above command for there is
a mistake in the program.
Signed-off-by: Yanchuan Nian <ycnian@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/segtree.c')
0 files changed, 0 insertions, 0 deletions