0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2025-01-05 16:41:53 +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 void
cmd_send_symbols(void) cmd_send_symbols(void)
{ {
int code, pos = 0; int code = 0;
struct symbol *sym = NULL;
cli_msg(RC_BIRD_VERSION_NUM, "%s", BIRD_VERSION); 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); code = get_cli_code_for_sym(sym);
cli_msg(code, "%s", sym->name); cli_msg(code, "%s", sym->name);
} }
HASH_WALK_END;
struct iface *i; struct iface *i;
WALK_LIST(i, iface_list) WALK_LIST(i, iface_list)