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 4b3e03af70e1c8be05b519bdf0d980357baf9573..fc1638d22dbb00741faa0dd5c2ac77f3dca55f58 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");