[ovs-dev] [PATCH 2/5] odp-util: Correct printing the VLAN PCP mask.

Justin Pettit jpettit at nicira.com
Fri Jun 28 01:16:15 UTC 2013


Signed-off-by: Justin Pettit <jpettit at nicira.com>
---
 lib/odp-util.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lib/odp-util.c b/lib/odp-util.c
index fd4207a..7724be4 100644
--- a/lib/odp-util.c
+++ b/lib/odp-util.c
@@ -1063,7 +1063,7 @@ format_odp_key_attr(const struct nlattr *a, const struct nlattr *ma,
                               vlan_tci_to_vid(vlan_tci),
                               vlan_tci_to_vid(mask),
                               vlan_tci_to_pcp(vlan_tci),
-                              vlan_tci_to_vid(mask),
+                              vlan_tci_to_pcp(mask),
                               vlan_tci_to_cfi(vlan_tci),
                               vlan_tci_to_cfi(mask));
             } else {
-- 
1.7.5.4




More information about the dev mailing list