X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lib%2Fstp.c;h=ee5c8bcde84527c4509d46231915e56d272eeb8a;hb=0f5ed573fedd9b608cb48c597f31311be7a877fa;hp=06ac0019bfa807f78d3978589edbffe95f9ddfdc;hpb=634408e0c5e9d99b55c40ab4df608f822ef923a7;p=sliver-openvswitch.git diff --git a/lib/stp.c b/lib/stp.c index 06ac0019b..ee5c8bcde 100644 --- a/lib/stp.c +++ b/lib/stp.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2008, 2009, 2010, 2011 Nicira Networks. + * Copyright (c) 2008, 2009, 2010, 2011 Nicira, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -1371,7 +1371,7 @@ stp_unixctl_tcn(struct unixctl_conn *conn, int argc, struct stp *stp = stp_find(argv[1]); if (!stp) { - unixctl_command_reply(conn, 501, "no such stp object"); + unixctl_command_reply_error(conn, "no such stp object"); return; } stp_topology_change_detection(stp); @@ -1383,5 +1383,5 @@ stp_unixctl_tcn(struct unixctl_conn *conn, int argc, } } - unixctl_command_reply(conn, 200, "OK"); + unixctl_command_reply(conn, "OK"); }