diff options
author | Maria Matejka <mq@ucw.cz> | 2022-08-30 19:40:58 +0200 |
---|---|---|
committer | Maria Matejka <mq@ucw.cz> | 2022-09-01 18:46:40 +0200 |
commit | 83ceb91b50ae75ee5509faa74e2f6d4bdcf78505 (patch) | |
tree | 96d65f8adcef98349322722d42d5329c04f8dec7 /nest/config.Y | |
parent | 397fec4741b40f61d06a467b4110aad7e996485c (diff) |
Table debug is now a per-table setting and has categories.
Diffstat (limited to 'nest/config.Y')
-rw-r--r-- | nest/config.Y | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/nest/config.Y b/nest/config.Y index 4bf0fefe..3ad6530d 100644 --- a/nest/config.Y +++ b/nest/config.Y @@ -235,6 +235,7 @@ table_opt: if ($3 > $4) cf_error("Cork low threshold must be lower than the high threshold."); this_table->cork_threshold.low = $3; this_table->cork_threshold.high = $4; } + | DEBUG bool { this_table->debug = $2; } ; table_opts: @@ -394,7 +395,7 @@ debug_default: DEBUG PROTOCOLS debug_mask { new_config->proto_default_debug = $3; } | DEBUG CHANNELS debug_mask { new_config->channel_default_debug = $3; } | DEBUG COMMANDS expr { new_config->cli_debug = $3; } - | DEBUG TABLES bool { new_config->table_debug = $3; } + | DEBUG TABLES debug_mask { new_config->table_debug = $3; } ; /* MRTDUMP PROTOCOLS is in systep/unix/config.Y */ |