<html>
<head>
<base href="https://bugzilla.netfilter.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - nft fails to parse own output; unable to save-restore active state"
href="https://bugzilla.netfilter.org/show_bug.cgi?id=1188#c3">Comment # 3</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - nft fails to parse own output; unable to save-restore active state"
href="https://bugzilla.netfilter.org/show_bug.cgi?id=1188">bug 1188</a>
from <span class="vcard"><a class="email" href="mailto:netfilter@allycomm.com" title="Jeff Kletsky <netfilter@allycomm.com>"> <span class="fn">Jeff Kletsky</span></a>
</span></b>
<pre>Adding 'flush ruleset' to the beginning of "ruleset.out" does not resolve the
issue
$ cat ruleset.out.flush-first
flush ruleset
table inet global {
set blackhole_ipv6 {
type ipv6_addr
flags interval
elements = { ::/96,
::ffff:0.0.0.0/96,
2001::/32,
2001:10::/28,
2001:db8::/32,
2002::/16,
3ffe::/16,
5f00::/8,
fc00::/8 }
}
}
$ sudo nft -f ruleset.out.flush-first
ruleset.out.flush-first:7:38-46: Error: syntax error, unexpected string,
expecting comma or '}'
::ffff:0.0.0.0/96,
^^^^^^^^^
ruleset.out.flush-first:8:30-35: Error: syntax error, unexpected string
2001::/32,
^^^^^^
ruleset.out.flush-first:9:30-38: Error: syntax error, unexpected string
2001:10::/28,
^^^^^^^^^
ruleset.out.flush-first:10:30-39: Error: syntax error, unexpected string
2001:db8::/32,
^^^^^^^^^^
ruleset.out.flush-first:11:30-35: Error: syntax error, unexpected string
2002::/16,
^^^^^^
ruleset.out.flush-first:12:30-35: Error: syntax error, unexpected string
3ffe::/16,
^^^^^^
ruleset.out.flush-first:13:30-35: Error: syntax error, unexpected string
5f00::/8,
^^^^^^
ruleset.out.flush-first:14:30-35: Error: syntax error, unexpected string
fc00::/8 }
^^^^^^</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are watching all bug changes.</li>
</ul>
</body>
</html>