The functions check_in_port_sec() and check_out_port_sec() only set one
bit but the example shows 8 bits being set. Correct the example to set 1
bit of the registry.
Fixes: ffd7798268ae ("actions: Add new actions check_in_port_sec and
check_out_port_sec.")
Assisted-by: Claude Opus 4.6, Claude Code
Signed-off-by: Jacob Tanenbaum <[email protected]>
---
ovn-sb.xml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/ovn-sb.xml b/ovn-sb.xml
index 5540bcbef..45a3837e6 100644
--- a/ovn-sb.xml
+++ b/ovn-sb.xml
@@ -2726,7 +2726,7 @@ tcp.flags = RST;
</p>
<p>
- <b>Example:</b> <code>reg8[0..7] = check_in_port_sec();</code>
+ <b>Example:</b> <code>reg0[15] = check_in_port_sec();</code>
</p>
</dd>
@@ -2746,7 +2746,7 @@ tcp.flags = RST;
</p>
<p>
- <b>Example:</b> <code>reg8[0..7] = check_out_port_sec();</code>
+ <b>Example:</b> <code>reg0[15] = check_out_port_sec();</code>
</p>
</dd>
--
2.55.0
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev