ovs-ofctl: Improve error message for "ovs-ofctl show nonexistent".
authorBen Pfaff <blp@nicira.com>
Wed, 20 Jul 2011 21:31:54 +0000 (14:31 -0700)
committerBen Pfaff <blp@nicira.com>
Wed, 20 Jul 2011 21:32:33 +0000 (14:32 -0700)
Suggested-by: Peter Balland <peter@nicira.com>
utilities/ovs-ofctl.c

index a6fff256c71f35ba02f8cf92f0d37fd39d1ec3ac..a94bde8e225b965c4f03a2c35a7dbe03f077e532 100644 (file)
@@ -247,7 +247,7 @@ open_vconn__(const char *name, const char *default_suffix,
         }
         open_vconn_socket(socket_name, vconnp);
     } else {
-        ovs_fatal(0, "%s is not a valid connection method", name);
+        ovs_fatal(0, "%s is not a bridge or a socket", name);
     }
 
     free(bridge_path);