Commit b76472c4 authored by Jan Maria Matejka's avatar Jan Maria Matejka
Browse files

Send only global symbols

parent adf80ecc
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -104,10 +104,13 @@ cmd_send_symbols(void)
  cli_msg(RC_BIRD_VERSION_NUM, "%s", BIRD_VERSION);

  HASH_WALK(config->sym_hash, next, sym)
  {
    if (!sym->scope->next) /* global scope */
      {
	code = get_cli_code_for_sym(sym);
	cli_msg(code, "%s", sym->name);
      }
  }
  HASH_WALK_END;

  struct iface *i;