<html>
<head>
<base href="https://bugzilla.netfilter.org/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:pablo@netfilter.org" title="Pablo Neira Ayuso <pablo@netfilter.org>"> <span class="fn">Pablo Neira Ayuso</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - Add "replace" rule statement"
href="https://bugzilla.netfilter.org/show_bug.cgi?id=996">bug 996</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>NEW
</td>
<td>RESOLVED
</td>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>---
</td>
<td>FIXED
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - Add "replace" rule statement"
href="https://bugzilla.netfilter.org/show_bug.cgi?id=996#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - Add "replace" rule statement"
href="https://bugzilla.netfilter.org/show_bug.cgi?id=996">bug 996</a>
from <span class="vcard"><a class="email" href="mailto:pablo@netfilter.org" title="Pablo Neira Ayuso <pablo@netfilter.org>"> <span class="fn">Pablo Neira Ayuso</span></a>
</span></b>
<pre>Rule replacement is now available since:
commit 0721fbbe7a951a1e879d120c7a722012c38af9a6
Author: Carlos Falgueras GarcĂa <<a href="mailto:carlosfg@riseup.net">carlosfg@riseup.net</a>>
Date: Tue Oct 27 12:58:07 2015 +0100
src: Add command "replace" for rules
This is coming in the upcoming 0.6 release.
# nft list ruleset -a
table ip filter {
chain input {
ip protocol tcp counter packets 0 bytes 0 # handle 2
}
}
# nft replace rule filter input handle 2 ip protocol udp counter
# nft list ruleset
table ip filter {
chain input {
ip protocol udp counter packets 0 bytes 0
}
}</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are watching all bug changes.</li>
</ul>
</body>
</html>