<html>
<head>
<base href="https://bugzilla.netfilter.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - issue with interval sets"
href="https://bugzilla.netfilter.org/show_bug.cgi?id=1304">1304</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>issue with interval sets
</td>
</tr>
<tr>
<th>Product</th>
<td>nftables
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86_64
</td>
</tr>
<tr>
<th>OS</th>
<td>Debian GNU/Linux
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P5
</td>
</tr>
<tr>
<th>Component</th>
<td>kernel
</td>
</tr>
<tr>
<th>Assignee</th>
<td>pablo@netfilter.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>arturo@debian.org
</td>
</tr></table>
<p>
<div>
<pre>Original bug report: <a href="https://bugs.debian.org/914706">https://bugs.debian.org/914706</a>
nft version: 0.9.0
kernel version: 4.18
Not sure if already fixed. If so, please add link to concrete commit.
root@xmachine1:/home/user/testcase# nft add element filter S1 { 10.6.0.0/28 }
root@xmachine1:/home/user/testcase# nft list set filter S1
table ip filter {
set S1 {
type ipv4_addr
flags interval
elements = { 10.5.0.20/31, 10.6.0.0/28 }
}
}
root@xmachine1:/home/user/testcase# nft delete element filter S1 { 10.5.0.20/31
}
root@xmachine1:/home/user/testcase# nft list set filter S1
table ip filter {
set S1 {
type ipv4_addr
flags interval
elements = { 10.6.0.0/28 }
}
}
root@xmachine1:/home/user/testcase# nft delete element filter S1 { 10.6.0.0/28
}
Error: Could not process rule: No such file or directory
delete element filter S1 { 10.6.0.0/28 }
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
root@xmachine1:/home/user/testcase#
root@xmachine1:/home/user/testcase#
root@xmachine1:/home/user/testcase# nft add element filter S1 { 10.7.0.0/28 }
root@xmachine1:/home/user/testcase# nft delete element filter S1 { 10.6.0.0/28
}
root@xmachine1:/home/user/testcase# nft list set filter S1
table ip filter {
set S1 {
type ipv4_addr
flags interval
elements = { 10.7.0.0/28 }
}
}</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are watching all bug changes.</li>
</ul>
</body>
</html>