<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 - add set - syntax has changed - update documentation"
href="https://bugzilla.netfilter.org/show_bug.cgi?id=1299">1299</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>add set - syntax has changed - update documentation
</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>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>enhancement
</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>james@nurealm.net
</td>
</tr></table>
<p>
<div>
<pre>Arch Linux
nftables 1:0.9.0-1
On the wiki:
<a href="https://wiki.nftables.org/wiki-nftables/index.php/Sets">https://wiki.nftables.org/wiki-nftables/index.php/Sets</a>
the example is shown:
% nft add set filter blackhole { type ipv4_addr\;}
where man 8 nft shows:
add set [family] table set { type type ; ... }
the "family" is shown as optional.
"family" no longer appears to be optional. Is this intentional? Or a bug?
$ sudo nft list tables
table inet filter
table ip nat
table ip private
$ sudo nft add set filter foreign \{ type ipv4_addr \; \}
Error: Could not process rule: No such file or directory
add set filter foreign { type ipv4_addr ; }
^^^^^^
But instead,
$ sudo nft add set inet filter foreign \{ type ipv4_addr \; \}
will successfully create the set:
$ sudo nft list ruleset
table inet filter {
set foreign {
type ipv4_addr
}
...
If not a bug, then erroneous documentation is very much a problem.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are watching all bug changes.</li>
</ul>
</body>
</html>