diff options
author | Ethan Jackson <ethan@nicira.com> | 2012-02-20 21:57:20 -0800 |
---|---|---|
committer | Ethan Jackson <ethan@nicira.com> | 2012-02-21 00:02:20 -0800 |
commit | 491aa8847a05f3ab98e6e6bd2ac26e331c363b3d (patch) | |
tree | adc704bcb8c32a46ed3c209f89a61e3c5a548822 /lib/bond.c | |
parent | a7349929fb86d41f2e2ef77395e33b21f9457d48 (diff) |
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 <ethan@nicira.com>
Diffstat (limited to 'lib/bond.c')
-rw-r--r-- | lib/bond.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |