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]>

---
v3 - change the subject to be less than 70 characters.
---
---
 ovn-sb.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ovn-sb.xml b/ovn-sb.xml
index fe07375d8..cba6d4bad 100644
--- a/ovn-sb.xml
+++ b/ovn-sb.xml
@@ -2729,7 +2729,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>
 
@@ -2749,7 +2749,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

Reply via email to