diff mbox series

[ovs-dev,6/7] tc: Fix wrong struct variable order

Message ID 1511268042-65124-7-git-send-email-roid@mellanox.com
State Accepted
Headers show
Series Fixes for header rewrite feature | expand

Commit Message

Roi Dayan Nov. 21, 2017, 12:40 p.m. UTC
From: Paul Blakey <paulb@mellanox.com>

Fix the struct variable order to corrospond with
it's usage.

Signed-off-by: Paul Blakey <paulb@mellanox.com>
Reviewed-by: Roi Dayan <roid@mellanox.com>
---
 lib/tc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/lib/tc.c b/lib/tc.c
index 4f82623..9170e3e 100644
--- a/lib/tc.c
+++ b/lib/tc.c
@@ -62,8 +62,8 @@  struct tc_pedit_key_ex {
 
 struct flower_key_to_pedit {
     enum pedit_header_type htype;
-    int flower_offset;
     int offset;
+    int flower_offset;
     int size;
 };