[Bug 1304] issue with interval sets

bugzilla-daemon at netfilter.org bugzilla-daemon at netfilter.org
Fri Aug 28 20:36:19 CEST 2020


https://bugzilla.netfilter.org/show_bug.cgi?id=1304

--- Comment #2 from Pablo Neira Ayuso <pablo at netfilter.org> ---
I think this one is fixing the issue:

Author: Pablo Neira Ayuso <pablo at netfilter.org>
Date:   Wed Mar 6 00:51:03 2019 +0100

    segtree: add missing non-matching segment to set in flat representation

     # cat test.nft
     add set x y { type ipv4_addr; }
     add element x y { 10.0.24.0/24 }
     # nft -f test.nft
     # nft delete element x y { 10.0.24.0/24 }

    bogusly returns -ENOENT. The non-matching segment (0.0.0.0 with end-flag
    set on) is not added to the set in the example above.

    This patch also adds a test to cover this case.

Closing this, as this work here with current nftables versions.

-- 
You are receiving this mail because:
You are watching all bug changes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.netfilter.org/pipermail/netfilter-buglog/attachments/20200828/81946ce2/attachment.html>


More information about the netfilter-buglog mailing list