<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 - Listing a set may or may not show the size of a set"
href="https://bugzilla.netfilter.org/show_bug.cgi?id=1717">1717</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Listing a set may or may not show the size of a set
</td>
</tr>
<tr>
<th>Product</th>
<td>nftables
</td>
</tr>
<tr>
<th>Version</th>
<td>1.0.x
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86_64
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</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>kfm@plushkava.net
</td>
</tr></table>
<p>
<div>
<pre>Both of the following examples concern the exact same loaded ruleset.
Here is an example of listing a set where the size is not shown.
# nft -t list set netdev filter block_bogons | awk '$1 == "size" { print $1, $2
}'
Here is an example of listing a different set, where the size is shown.
# nft -t list set netdev filter dropped | awk '$1 == "size" { print $1, $2 }'
size 65535
Neither set was defined with an explicit size, which begets the question: why
does nft decide to report the size for one set and yet not the other? I think
that it should behave consistently, perhaps by always including the size.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are watching all bug changes.</li>
</ul>
</body>
</html>