mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2025-01-03 15:41:54 +00:00
Send only global symbols
This commit is contained in:
parent
adf80eccc5
commit
b76472c4ee
@ -105,8 +105,11 @@ cmd_send_symbols(void)
|
|||||||
|
|
||||||
HASH_WALK(config->sym_hash, next, sym)
|
HASH_WALK(config->sym_hash, next, sym)
|
||||||
{
|
{
|
||||||
code = get_cli_code_for_sym(sym);
|
if (!sym->scope->next) /* global scope */
|
||||||
cli_msg(code, "%s", sym->name);
|
{
|
||||||
|
code = get_cli_code_for_sym(sym);
|
||||||
|
cli_msg(code, "%s", sym->name);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
HASH_WALK_END;
|
HASH_WALK_END;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user