wireguard: Document wireguard async mode default 43/35943/3
authorJon Loeliger <jdl@netgate.com>
Tue, 12 Apr 2022 15:06:49 +0000 (10:06 -0500)
committerMatthew Smith <mgsmith@netgate.com>
Thu, 28 Apr 2022 14:51:50 +0000 (14:51 +0000)
Type: improvement
Signed-off-by: Jon Loeliger <jdl@netgate.com>
Change-Id: I446eb86c097d1bf99f05ee47f1c550689d70ced2

src/plugins/wireguard/wireguard.api

index d630a2f..508c0cf 100644 (file)
@@ -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];
 };
 
 /*