summaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
Diffstat (limited to 'conf')
-rw-r--r--conf/conf.c2
-rw-r--r--conf/confbase.Y1
2 files changed, 2 insertions, 1 deletions
diff --git a/conf/conf.c b/conf/conf.c
index f64932f5..4e6354b2 100644
--- a/conf/conf.c
+++ b/conf/conf.c
@@ -206,7 +206,7 @@ config_del_obstacle(struct config *c)
{
DBG("+++ deleting obstacle %d\n", c->obstacle_count);
c->obstacle_count--;
- if (!c->obstacle_count)
+ if (!c->obstacle_count && (c != config))
ev_schedule(config_event);
}
diff --git a/conf/confbase.Y b/conf/confbase.Y
index b8deed54..3f3aef5d 100644
--- a/conf/confbase.Y
+++ b/conf/confbase.Y
@@ -55,6 +55,7 @@ CF_DECLS
struct roa_show_data *ro;
struct sym_show_data *sd;
struct lsadb_show_data *ld;
+ struct mrt_dump_data *md;
struct iface *iface;
struct roa_table *rot;
void *g;