[ovs-dev] [PATCH] ovs-ofctl: Improve error message for "ovs-ofctl show nonexistent".

Justin Pettit jpettit at nicira.com
Thu Jul 21 08:23:43 UTC 2011


It's a bit narrow in that other methods are supported, but they probably cover the most common ways ovs-ofctl is called.

--Justin


On Jul 20, 2011, at 2:32 PM, Ben Pfaff wrote:

> Suggested-by: Peter Balland <peter at nicira.com>
> ---
> utilities/ovs-ofctl.c |    2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/utilities/ovs-ofctl.c b/utilities/ovs-ofctl.c
> index f7e1400..4f81334 100644
> --- a/utilities/ovs-ofctl.c
> +++ b/utilities/ovs-ofctl.c
> @@ -258,7 +258,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);
> -- 
> 1.7.4.4
> 
> _______________________________________________
> dev mailing list
> dev at openvswitch.org
> http://openvswitch.org/mailman/listinfo/dev




More information about the dev mailing list