Message ID | 1479203387-17549-3-git-send-email-cascardo@redhat.com |
---|---|
State | Accepted |
Headers | show |
On Tue, Nov 15, 2016 at 1:49 AM, Thadeu Lima de Souza Cascardo <cascardo@redhat.com> wrote: > Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@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"); > } I pushed this patch to master and branch 2.6. Thanks.
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"); }
Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@redhat.com> --- lib/ovs-router.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)