ofproto-dpif: Fix "ofproto/trace" command.
authorBen Pfaff <blp@nicira.com>
Fri, 20 Jan 2012 00:23:32 +0000 (16:23 -0800)
committerBen Pfaff <blp@nicira.com>
Fri, 20 Jan 2012 01:01:00 +0000 (17:01 -0800)
Commit 0e15264f96e3c (unixctl: Implement quoting.) broke one form of
ofproto/trace.  This fixes it.

Signed-off-by: Ben Pfaff <blp@nicira.com>
ofproto/ofproto-dpif.c

index 60f8175..e93e2a7 100644 (file)
@@ -5901,7 +5901,7 @@ ofproto_dpif_unixctl_init(void)
     unixctl_command_register(
         "ofproto/trace",
         "bridge {tun_id in_port packet | odp_flow [-generate]}",
-        2, 4, ofproto_unixctl_trace, NULL);
+        2, 5, ofproto_unixctl_trace, NULL);
     unixctl_command_register("fdb/flush", "bridge", 1, 1,
                              ofproto_unixctl_fdb_flush, NULL);
     unixctl_command_register("fdb/show", "bridge", 1, 1,