[ovs-dev] [PATCH 2/3] ovs-router: report error when failing to insert route
Thadeu Lima de Souza Cascardo
cascardo at redhat.com
Tue Nov 15 09:49:46 UTC 2016
Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo at redhat.com>
---
lib/ovs-router.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/ovs-router.c b/lib/ovs-router.c
index e27514a..e29d462 100644
--- a/lib/ovs-router.c
+++ b/lib/ovs-router.c
@@ -316,7 +316,7 @@ ovs_router_add(struct unixctl_conn *conn, int argc,
}
err = ovs_router_insert__(plen + 32, &ip6, plen, argv[2], &gw6);
if (err) {
- unixctl_command_reply(conn, "Error while inserting route.");
+ unixctl_command_reply_error(conn, "Error while inserting route.");
} else {
unixctl_command_reply(conn, "OK");
}
--
2.7.4
More information about the dev
mailing list