summaryrefslogtreecommitdiff
path: root/sysdep
diff options
context:
space:
mode:
authorMikael Magnusson <mikma@users.sourceforge.net>2023-11-25 01:52:02 +0100
committerMikael Magnusson <mikma@users.sourceforge.net>2023-11-25 01:52:02 +0100
commitc406ae7bacc48cc058c876c6ec9a16b54209e806 (patch)
tree87404a3456088ce24eec99129cb31a63377ae82a /sysdep
parentd634dcd149ec6f916f62b7fb40cf434d4d081410 (diff)
parent86598183917cd9ff1d21900e0d8cc18dd1e791e1 (diff)
Merge commit '86598183' into wireguard-next-tmp7-1
Diffstat (limited to 'sysdep')
-rw-r--r--sysdep/unix/config.Y5
1 files changed, 4 insertions, 1 deletions
diff --git a/sysdep/unix/config.Y b/sysdep/unix/config.Y
index 5c4b5bef..fce64794 100644
--- a/sysdep/unix/config.Y
+++ b/sysdep/unix/config.Y
@@ -19,7 +19,7 @@ CF_DECLS
CF_KEYWORDS(LOG, SYSLOG, ALL, DEBUG, TRACE, INFO, REMOTE, WARNING, ERROR, AUTH, FATAL, BUG, STDERR, SOFT)
CF_KEYWORDS(NAME, CONFIRM, UNDO, CHECK, TIMEOUT, DEBUG, LATENCY, LIMIT, WATCHDOG, WARNING, STATUS)
-CF_KEYWORDS(GRACEFUL, RESTART)
+CF_KEYWORDS(GRACEFUL, RESTART, THREADS)
%type <i> log_mask log_mask_list log_cat cfg_timeout
%type <t> cfg_name
@@ -28,6 +28,9 @@ CF_KEYWORDS(GRACEFUL, RESTART)
CF_GRAMMAR
+/* Dummy threads setting for forward compatibility */
+conf: THREADS expr ';' ;
+
conf: log_config ;
log_begin: { this_log = cfg_allocz(sizeof(struct log_config)); };