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:28:45 -0800 |
commit | d67025e04b96ff26f22dd51167a9c44ed0e8871c (patch) | |
tree | 2d42c3e7c917ba8b3dee1c5c0ba664ba539512c4 | |
parent | 6c6b6b3f627d108d97011ca0f919a4a804d9ddce (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
@@ -1145,7 +1145,7 @@ enable_slave(struct unixctl_conn *conn, const char *args_, 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 |