[ovs-dev] [PATCH] dpctl: Fix comment describing get_one_dp().
Justin Pettit
jpettit at ovn.org
Thu Dec 7 06:19:23 UTC 2017
Signed-off-by: Justin Pettit <jpettit at ovn.org>
---
lib/dpctl.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/dpctl.c b/lib/dpctl.c
index 06cfbc4abf21..5e064ec9c100 100644
--- a/lib/dpctl.c
+++ b/lib/dpctl.c
@@ -129,8 +129,8 @@ if_up(struct netdev *netdev)
}
/* Retrieve the name of the datapath if exactly one exists. The caller
- * is responsible for freeing the returned string. If there is not one
- * datapath, aborts with an error message. */
+ * is responsible for freeing the returned string. If a single datapath
+ * name cannot be determined, returns NULL. */
static char *
get_one_dp(struct dpctl_params *dpctl_p)
{
--
2.7.4
More information about the dev
mailing list