aboutsummaryrefslogtreecommitdiff
path: root/lib/odp-util.c
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2011-08-04 13:32:19 -0700
committerBen Pfaff <blp@nicira.com>2011-08-08 13:14:01 -0700
commit6adf1730c8e21a653faf1d614fdddb2cd7825670 (patch)
treea66587851c449c2d017511f919052cfbcf37a175 /lib/odp-util.c
parent18812dff32ce650440b9f1eac1bb00afe08c621a (diff)
odp-util: Format VLAN headers more like other headers in ODP flow output.
The rest of the headers all follow the form "header(value)" or "header(key1=value1,key2=value2,...)" but VLAN headers left out the "=" characters. This adds them in for consistency.
Diffstat (limited to 'lib/odp-util.c')
-rw-r--r--lib/odp-util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/odp-util.c b/lib/odp-util.c
index 93f8f8a0..62cb5046 100644
--- a/lib/odp-util.c
+++ b/lib/odp-util.c
@@ -272,7 +272,7 @@ format_odp_key_attr(const struct nlattr *a, struct ds *ds)
if (q_key->q_tpid != htons(ETH_TYPE_VLAN)) {
ds_put_format(ds, "tpid=0x%04"PRIx16",", ntohs(q_key->q_tpid));
}
- ds_put_format(ds, "vid%"PRIu16",pcp%d)",
+ ds_put_format(ds, "vid=%"PRIu16",pcp=%d)",
vlan_tci_to_vid(q_key->q_tci),
vlan_tci_to_pcp(q_key->q_tci));
break;