summaryrefslogtreecommitdiffstats
path: root/src/plugins/wireguard/wireguard.api
diff options
context:
space:
mode:
authorJon Loeliger <jdl@netgate.com>2022-04-12 10:06:49 -0500
committerMatthew Smith <mgsmith@netgate.com>2022-04-28 14:51:50 +0000
commit39fdefdc90abeaa142e4056bd40ff3e89dc689ab (patch)
treed3ce480e307afb3bc033147cb3c2e6fa2a3f6776 /src/plugins/wireguard/wireguard.api
parent07c73690e992525320be1067cff33a6b8d5ec9e3 (diff)
wireguard: Document wireguard async mode default
Type: improvement Signed-off-by: Jon Loeliger <jdl@netgate.com> Change-Id: I446eb86c097d1bf99f05ee47f1c550689d70ced2
Diffstat (limited to 'src/plugins/wireguard/wireguard.api')
-rw-r--r--src/plugins/wireguard/wireguard.api4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/wireguard/wireguard.api b/src/plugins/wireguard/wireguard.api
index d630a2fa841..508c0cf7981 100644
--- a/src/plugins/wireguard/wireguard.api
+++ b/src/plugins/wireguard/wireguard.api
@@ -206,12 +206,12 @@ define wireguard_peers_details {
/** \brief Wireguard Set Async mode
@param client_index - opaque cookie to identify the sender
@param context - sender context, to match reply w/ request
- @param async_enable - wireguard async mode on or off
+ @param async_enable - wireguard async mode on or off, default off
*/
autoreply define wg_set_async_mode {
u32 client_index;
u32 context;
- bool async_enable;
+ bool async_enable [default=false];
};
/*