diff mbox series

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

Message ID 20240105114702.443465-2-amorenoz@redhat.com
State Changes Requested
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. 5, 2024, 11:46 a.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(-)

Comments

Simon Horman Jan. 5, 2024, 3:17 p.m. UTC | #1
On Fri, Jan 05, 2024 at 12:46:53PM +0100, Adrian Moreno wrote:
> They key used in flows is "n_packets".
> 
> Signed-off-by: Adrian Moreno <amorenoz@redhat.com>

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