odp-util: Remove extraneous "set_tci(" from format_odp_action()
authorJustin Pettit <jpettit@nicira.com>
Tue, 12 Oct 2010 06:50:36 +0000 (23:50 -0700)
committerJustin Pettit <jpettit@nicira.com>
Tue, 12 Oct 2010 07:06:51 +0000 (00:06 -0700)
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)

lib/odp-util.c

index b497538d522af9e490ac241789aeec83dc9c89a9..130d55de77f2d99930cb76afd1d3cf5d544878d2 100644 (file)
@@ -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);