aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/ct6/ct6.api
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/ct6/ct6.api')
-rw-r--r--src/plugins/ct6/ct6.api11
1 files changed, 2 insertions, 9 deletions
diff --git a/src/plugins/ct6/ct6.api b/src/plugins/ct6/ct6.api
index 67af42fd9fe..10a28251a20 100644
--- a/src/plugins/ct6/ct6.api
+++ b/src/plugins/ct6/ct6.api
@@ -1,7 +1,7 @@
/* Define a simple enable-disable binary API to control the feature */
-define ct6_enable_disable {
+autoreply define ct6_enable_disable {
/* Client identifier, set from api_main.my_client_index */
u32 client_index;
@@ -16,12 +16,5 @@ define ct6_enable_disable {
/* Interface handle */
u32 sw_if_index;
-};
-
-define ct6_enable_disable_reply {
- /* From the request */
- u32 context;
-
- /* Return value, zero means all OK */
- i32 retval;
+ option vat_help = "<intfc> [disable]";
};