diff mbox series

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

Message ID 20240117111902.1607239-2-amorenoz@redhat.com
State Accepted
Delegated to: Simon Horman
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 success test: success

Commit Message

Adrian Moreno Jan. 17, 2024, 11:18 a.m. UTC
They key used in flows is "n_packets".

Acked-by: Simon Horman <horms@ovn.org>
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,