when introduced the the example for put_fdb() in the docs showed the
second argument to be arp.spa which is a 32-bit IP address but the
parser requires a 48-bit MAC address. Correct the example to use the
correct field.

Fixes: f819ce8fa2a0 ("MAC learning: Add new actions - put_fdb, get_fdb and 
lookup_fdb.")
Assisted-by: Claude Opus 4.6, Claude Code
Signed-off-by: Jacob Tanenbaum <[email protected]>
---
 ovn-sb.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ovn-sb.xml b/ovn-sb.xml
index fc51bf7fb..e1e025ee7 100644
--- a/ovn-sb.xml
+++ b/ovn-sb.xml
@@ -1799,7 +1799,7 @@
             fdb table, setting its logical port key to <var>P</var>.
           </p>
 
-          <p><b>Example:</b> <code>put_fdb(inport, arp.spa);</code></p>
+          <p><b>Example:</b> <code>put_fdb(inport, eth.src);</code></p>
         </dd>
 
         <dt>
-- 
2.55.0

_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to