0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-12-22 09:41:54 +00:00

Conf: Adding dummy thread-number setting for easier sharing of configuration between v2 and v3

This commit is contained in:
Maria Matejka 2023-06-09 13:49:17 +02:00
parent 69372dc9aa
commit bc19167135

View File

@ -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)); };