diff mbox series

[ovs-dev,v2,1/6] python: ovs: flow: Fix typo in n_packets.

Message ID 20231220175803.2098495-2-amorenoz@redhat.com
State Changes Requested
Headers show
Series python: Miscelaneous flow parsing fixes. | expand

Checks

Context Check Description
ovsrobot/apply-robot success apply and check: success
ovsrobot/github-robot-_Build_and_Test success github build: passed
ovsrobot/intel-ovs-compilation fail test: fail

Commit Message

Adrian Moreno Dec. 20, 2023, 5:57 p.m. UTC
They key used in flows is "n_packets".

Signed-off-by: Adrian Moreno <amorenoz@redhat.com>
---
 python/ovs/flow/ofp.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/python/ovs/flow/ofp.py b/python/ovs/flow/ofp.py
index 20231fd9f..f1a720d75 100644
--- a/python/ovs/flow/ofp.py
+++ b/python/ovs/flow/ofp.py
@@ -170,7 +170,7 @@  class OFPFlow(Flow):
         args = {
             "table": decode_int,
             "duration": decode_time,
-            "n_packet": decode_int,
+            "n_packets": decode_int,
             "n_bytes": decode_int,
             "cookie": decode_int,
             "idle_timeout": decode_time,