aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEthan Jackson <ethan@nicira.com>2012-02-20 21:57:20 -0800
committerEthan Jackson <ethan@nicira.com>2012-03-08 13:27:04 -0800
commit6c246f344dd26f99e085cc0f1372d211a0685ea1 (patch)
treeb62d558ecb573fc89630f8a0e10992d3c7e6fb5e
parentfa4aec994b297d6bd02ad881a1ded28e7b7c5000 (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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bond.c b/lib/bond.c
index 84a1117a..0883a26a 100644
--- a/lib/bond.c
+++ b/lib/bond.c
@@ -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