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:00:22 +0000 (17:00 -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 d46fcf3cfcac3a2ff05810feeab368c35dbb4ce4..381ffaf8de8b5e346d96ac2a5914dd3d66bbcd7d 100644 (file)
@@ -6114,7 +6114,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,