summaryrefslogtreecommitdiff
path: root/nest/config.Y
diff options
context:
space:
mode:
authorMaria Matejka <mq@ucw.cz>2022-06-24 15:27:26 +0200
committerMaria Matejka <mq@ucw.cz>2022-06-27 12:32:47 +0200
commit13ef5e53dd4a98c80261139b4c9ce4b1074cac40 (patch)
tree8508b9b004747a55b5d53fac22b29ce5f6977f57 /nest/config.Y
parent5c1ebe012e1bbfec52b4fba8b59edd355a7dff91 (diff)
The show-route CLI command now uses the route export API
In the multithreaded environment, it is not supposed that anybody traverses the routing table as the CLI show-route was doing. Now the routing table traversal is gone and CLI won't hold the table locked while computing filters.
Diffstat (limited to 'nest/config.Y')
-rw-r--r--nest/config.Y1
1 files changed, 1 insertions, 0 deletions
diff --git a/nest/config.Y b/nest/config.Y
index c3f2532f..ec10dd69 100644
--- a/nest/config.Y
+++ b/nest/config.Y
@@ -653,6 +653,7 @@ r_args:
init_list(&($$->tables));
$$->filter = FILTER_ACCEPT;
$$->running_on_config = config;
+ $$->cli = this_cli;
}
| r_args net_any {
$$ = $1;