BUG #6
authorJustin Pettit <jpettit@nicira.com>
Mon, 28 Apr 2008 21:33:02 +0000 (14:33 -0700)
committerJustin Pettit <jpettit@nicira.com>
Mon, 28 Apr 2008 21:33:02 +0000 (14:33 -0700)
Fix problem with "dpctl monitor" not working.

** Fix by Ben. **

utilities/dpctl.c

index 4b3e03a..fc1638d 100644 (file)
@@ -262,7 +262,7 @@ static void do_del_port(int argc UNUSED, char *argv[])
 static void do_monitor(int argc UNUSED, char *argv[])
 {
     struct dpif dp;
-    open_nl_vconn(argv[1], false, &dp);
+    open_nl_vconn(argv[1], true, &dp);
     for (;;) {
         struct buffer *b;
         run(dpif_recv_openflow(&dp, &b, true), "dpif_recv_openflow");