Re: nftables - unable to delete last element of map

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

 



Václav Zindulka <vaclav.zindulka@xxxxxxxxxx> wrote:
> I've discovered problem with maps in nftables. When I try to remove
> last element of the map I get No such file or directory error.

Works for me with nft from git:

# nft list ruleset
table ip test {
        map group_12058 {
                type ipv4_addr : classid
                flags interval
                elements = { 10.13.25.32/29 : 1:b8a1 }
        }
}
# nft delete element test group_12058 { 10.13.25.32/29 }
# nft list ruleset
table ip test {
        map group_12058 {
                type ipv4_addr : classid
                flags interval
        }
}





[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