Re: Nft list counters is not returning anything

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Mar 18, 2018 at 09:22:06PM +0100, darius wrote:
> Hi,
> 
> I'm using nft version 0.8.2 on OpenWRT and it seems like 'nft list
> counters' is not working. It just returns empty space in the brackets of
> table:
> 
> table ip ipv4_filter {
> }
> 
> On the other hand, if I use command 'nft list table ipv4_filter', then I
> can see all the counters correctly. Is that I'm doing something wrong,
> or 'nft list counters' is not supported anymore?

Are you refering to something like this? eg.

# nft add table x
# nft add counter x y
# nft list counters
table ip x {
        counter y {
                packets 0 bytes 0
        }
}
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux