diff mbox series

[ovs-dev,52/62] packets.h: fix IP6_FMT error

Message ID 20201228092520.11807-53-taoyunxiang@cmss.chinamobile.com
State Not Applicable
Headers show
Series DPDK Offload API to test | expand

Commit Message

Tao YunXiang Dec. 28, 2020, 9:25 a.m. UTC
From: Taoyunxiang <taoyunxiang@cmss.chinamobile.com>

Code Source From: Self Code
Description:
Fix IP6_FMT error

Jira:  #[Optional]
市场项目编号(名称):[Optional]
---
 lib/packets.h | 32 ++++++++++++++++----------------
 1 file changed, 16 insertions(+), 16 deletions(-)
diff mbox series

Patch

diff --git a/lib/packets.h b/lib/packets.h
index 25e0325..66838a9 100644
--- a/lib/packets.h
+++ b/lib/packets.h
@@ -648,22 +648,22 @@  mpls_lse_to_bos(ovs_be32 mpls_lse)
     ":%"PRIx8"%"PRIx8":%"PRIx8"%"PRIx8            \
     ":%"PRIx8"%"PRIx8":%"PRIx8"%"PRIx8
 #define IP6_ARGS(ip6) \
-    ntohs(ip6[0]),    \
-    ntohs(ip6[1]),    \
-    ntohs(ip6[2]),    \
-    ntohs(ip6[3]),    \
-    ntohs(ip6[4]),    \
-    ntohs(ip6[5]),    \
-    ntohs(ip6[6]),    \
-    ntohs(ip6[7]),    \
-    ntohs(ip6[8]),    \
-    ntohs(ip6[9]),    \
-    ntohs(ip6[10]),   \
-    ntohs(ip6[11]),   \
-    ntohs(ip6[12]),   \
-    ntohs(ip6[13]),   \
-    ntohs(ip6[14]),   \
-    ntohs(ip6[15])
+    ip6[0],    \
+    ip6[1],    \
+    ip6[2],    \
+    ip6[3],    \
+    ip6[4],    \
+    ip6[5],    \
+    ip6[6],    \
+    ip6[7],    \
+    ip6[8],    \
+    ip6[9],    \
+    ip6[10],   \
+    ip6[11],   \
+    ip6[12],   \
+    ip6[13],   \
+    ip6[14],   \
+    ip6[15]
 
 /* Example:
  *