<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 - nft list outputs mark rules with boolean or in a form that can be parsed by nft -f"
href="https://bugzilla.netfilter.org/show_bug.cgi?id=1364">1364</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>nft list outputs mark rules with boolean or in a form that can be parsed by nft -f
</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>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>niconorsk@gmail.com
</td>
</tr></table>
<p>
<div>
<pre>Steps to reproduce:
- add a rule with mark or logic: nft add rule inet filter input ct mark set ct
mark or 0x1
- export your ruleset: nft list ruleset > ruleset
- try to import your ruleset: nft -f ruleset
Result:
ruleset.json:143:22-22: Error: syntax error, unexpected comma, expecting
newline or semicolon
ct mark set ct mark,0x00000002
Not sure if the fix should be in the output of nft list ruleset or in the
parser</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are watching all bug changes.</li>
</ul>
</body>
</html>