diff options
author | Ethan Jackson <ethan@nicira.com> | 2012-02-20 21:57:20 -0800 |
---|---|---|
committer | Ethan Jackson <ethan@nicira.com> | 2012-03-08 13:27:04 -0800 |
commit | 6c246f344dd26f99e085cc0f1372d211a0685ea1 (patch) | |
tree | b62d558ecb573fc89630f8a0e10992d3c7e6fb5e | |
parent | fa4aec994b297d6bd02ad881a1ded28e7b7c5000 (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>
-rw-r--r-- | lib/bond.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1120,7 +1120,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 |