git://git.onelab.eu
/
sliver-openvswitch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
unixctl: New JSON RPC back-end.
[sliver-openvswitch.git]
/
lib
/
stp.c
diff --git
a/lib/stp.c
b/lib/stp.c
index
06ac001
..
e923053
100644
(file)
--- a/
lib/stp.c
+++ b/
lib/stp.c
@@
-1371,7
+1371,7
@@
stp_unixctl_tcn(struct unixctl_conn *conn, int argc,
struct stp *stp = stp_find(argv[1]);
if (!stp) {
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);
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");
}
}