From: Ethan Jackson Date: Tue, 21 Feb 2012 05:57:20 +0000 (-0800) Subject: bond: Incorrectly reported an error in appctl. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=491aa8847a05f3ab98e6e6bd2ac26e331c363b3d;p=openvswitch bond: Incorrectly reported an error in appctl. The bond/enable-slave and bond/disable-slave ovs-appctl commands incorrectly reported the 501 error code upon success. Signed-off-by: Ethan Jackson --- diff --git a/lib/bond.c b/lib/bond.c index 157e9889..1ad2367d 100644 --- a/lib/bond.c +++ b/lib/bond.c @@ -1168,7 +1168,7 @@ enable_slave(struct unixctl_conn *conn, const char *argv[], bool enable) } bond_enable_slave(slave, enable, &bond->unixctl_tags); - unixctl_command_reply(conn, 501, enable ? "enabled" : "disabled"); + unixctl_command_reply(conn, 200, enable ? "enabled" : "disabled"); } static void