aboutsummaryrefslogtreecommitdiffstats
path: root/src/examples/sample-plugin/sample
diff options
context:
space:
mode:
Diffstat (limited to 'src/examples/sample-plugin/sample')
-rw-r--r--src/examples/sample-plugin/sample/sample.api10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/examples/sample-plugin/sample/sample.api b/src/examples/sample-plugin/sample/sample.api
index f99cdb3856e..d565c0b178b 100644
--- a/src/examples/sample-plugin/sample/sample.api
+++ b/src/examples/sample-plugin/sample/sample.api
@@ -16,7 +16,7 @@
/* Define a simple binary API to control the feature */
-define sample_macswap_enable_disable {
+autoreply define sample_macswap_enable_disable {
/* Client identifier, set from api_main.my_client_index */
u32 client_index;
@@ -29,11 +29,3 @@ define sample_macswap_enable_disable {
/* Interface handle */
u32 sw_if_index;
};
-
-define sample_macswap_enable_disable_reply {
- /* From the request */
- u32 context;
-
- /* Return value, zero means all OK */
- i32 retval;
-};