summaryrefslogtreecommitdiffstats
path: root/nest/config.Y
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>2000-03-04 23:21:06 +0100
committerMartin Mares <mj@ucw.cz>2000-03-04 23:21:06 +0100
commitb9626ec6eaf299b889f52d017d025f356b43371a (patch)
tree463fd070f588caad2f8b68b31224932e0d72b7de /nest/config.Y
parent16c07e3d519b87a2166a513dd4edd8dab3bc3d19 (diff)
downloadbird-b9626ec6eaf299b889f52d017d025f356b43371a.tar
bird-b9626ec6eaf299b889f52d017d025f356b43371a.zip
Garbage collector events and counters are now per table and one day
they can be made configurable if it turns out to be useful.
Diffstat (limited to 'nest/config.Y')
-rw-r--r--nest/config.Y6
1 files changed, 1 insertions, 5 deletions
diff --git a/nest/config.Y b/nest/config.Y
index bc2a3fe..3911076 100644
--- a/nest/config.Y
+++ b/nest/config.Y
@@ -61,11 +61,7 @@ idval:
CF_ADDTO(conf, newtab)
newtab: TABLE SYM {
- struct rtable_config *c = cfg_allocz(sizeof(struct rtable_config));
- struct symbol *s = $2;
- cf_define_symbol(s, SYM_TABLE, c);
- c->name = s->name;
- add_tail(&new_config->tables, &c->n);
+ rt_new_table($2);
}
;