<html>
<head>
<base href="https://bugzilla.netfilter.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_ASSIGNED "
title="ASSIGNED - flush set doesn't work as expected in script"
href="https://bugzilla.netfilter.org/show_bug.cgi?id=1431#c6">Comment # 6</a>
on <a class="bz_bug_link
bz_status_ASSIGNED "
title="ASSIGNED - flush set doesn't work as expected in script"
href="https://bugzilla.netfilter.org/show_bug.cgi?id=1431">bug 1431</a>
from <span class="vcard"><a class="email" href="mailto:public_timo.s@silentcreek.de" title="Timo Sigurdsson <public_timo.s@silentcreek.de>"> <span class="fn">Timo Sigurdsson</span></a>
</span></b>
<pre>(In reply to Pablo Neira Ayuso from <a href="show_bug.cgi?id=1431#c5">comment #5</a>)
<span class="quote">> (In reply to James Zeng from <a href="show_bug.cgi?id=1431#c0">comment #0</a>)
> > # nft list ruleset
> > table ip potato {
> > set potato {
> > type ipv4_addr
> > flags interval
> > elements = { 0.0.0.0-255.255.255.255 }
> > }
> > }
> >
> > # cat b.nft
> > flush set ip potato potato;
> > add element ip potato potato {
> > 10.0.0.0/8
> > }
> >
> > # nft -f b.nft
> > b.nft:3:9-18: Error: interval overlaps with an existing one
> > 10.0.0.0/8
> > ^^^^^^^^^^
>
> Upstream fix is available in git.
>
> <a href="http://git.netfilter.org/nftables/commit/">http://git.netfilter.org/nftables/commit/</a>
> ?id=40ef308e19b6db02017a8a650406b0c6d37be750
>
> Thanks for reporting.</span >
Hi Pablo,
I tried this and it didn't work. Both James' and my testcases continue to fail
with the suggested fix. As mentions in my other bug, I tried this on Ubuntu
20.04 and built nftables and libnftnl from source (at commits 7c9bef0 and
330ca1c respectively) and nft now identifies as: nftables v0.9.6 (Capital Idea
#2).
Thanks and regards,
Timo</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are watching all bug changes.</li>
</ul>
</body>
</html>