<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 - comment doesn't work with ranges in sets"
href="https://bugzilla.netfilter.org/show_bug.cgi?id=1252">1252</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>comment doesn't work with ranges in 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>Gentoo
</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>nft
</td>
</tr>
<tr>
<th>Assignee</th>
<td>pablo@netfilter.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>sub@ryper.org
</td>
</tr></table>
<p>
<div>
<pre>When creating a set and including a range of ports in it, the comment function
seems to disappear from the "nft list ruleset -nn" output.
Example configuration:
set test {
type inet_service
flags interval
elements = { 1111 comment "test1",
2222-3333 comment "test2",
4444 comment "test3",
5555-6666 comment "test4" }
}
And here is the output from "nft list ruleset -nn"
set test {
type inet_service
flags interval
elements = { 1111 comment "test1", 1234 comment "test3", 2222-3333,
5555-6666 }
}
Is this intentional or a bug? It would be nice to be able to add comments for
even the intervals if possible. If there is another way to accomplish this, I
would love to know how.
Kernel: 4.14.37
nftables: 0.8.3
Thank you.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are watching all bug changes.</li>
</ul>
</body>
</html>