summaryrefslogtreecommitdiff
path: root/lib/odp-util.c
diff options
context:
space:
mode:
authorJustin Pettit <jpettit@nicira.com>2010-10-11 23:50:36 -0700
committerJustin Pettit <jpettit@nicira.com>2010-10-12 00:06:51 -0700
commitdb164669c1b482843e082e752d8fbd69f650f94a (patch)
treecd660c0ffc1aa158c0b68d6c5114804b14a0e83f /lib/odp-util.c
parentce5452cf78f96b924a11d02ad57b6b046b1e123a (diff)
downloadopenvswitch-db164669c1b482843e082e752d8fbd69f650f94a.tar.gz
odp-util: Remove extraneous "set_tci(" from format_odp_action()
The function format_odp_action(), which is used to format the output of "ovs-dpctl dump-flows", printed "set_tci(" before printing a correct "set_tci" with actual parameters. Bug #3808 (1/2)
Diffstat (limited to 'lib/odp-util.c')
-rw-r--r--lib/odp-util.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/odp-util.c b/lib/odp-util.c
index b497538d5..130d55de7 100644
--- a/lib/odp-util.c
+++ b/lib/odp-util.c
@@ -75,7 +75,6 @@ format_odp_action(struct ds *ds, const union odp_action *a)
int vid = vlan_tci_to_vid(a->dl_tci.tci);
int pcp = vlan_tci_to_pcp(a->dl_tci.tci);
- ds_put_cstr(ds, "set_tci(");
switch (ntohs(a->dl_tci.mask)) {
case VLAN_VID_MASK:
ds_put_format(ds, "set_tci(vlan=%d)", vid);