0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2025-01-03 15:41:54 +00:00

after-merge fix

This commit is contained in:
Jan Moskyto Matejka 2017-07-12 14:10:56 +02:00
parent 3b0ff09ae0
commit 87237fa3e4

View File

@ -99,16 +99,16 @@ get_cli_code_for_sym(struct symbol *sym)
void
cmd_send_symbols(void)
{
int code, pos = 0;
struct symbol *sym = NULL;
int code = 0;
cli_msg(RC_BIRD_VERSION_NUM, "%s", BIRD_VERSION);
while (sym = cf_walk_symbols(config, sym, &pos))
HASH_WALK(config->sym_hash, next, sym)
{
code = get_cli_code_for_sym(sym);
cli_msg(code, "%s", sym->name);
}
HASH_WALK_END;
struct iface *i;
WALK_LIST(i, iface_list)