diff options
author | Martin Mares <mj@ucw.cz> | 2000-01-16 17:40:26 +0000 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 2000-01-16 17:40:26 +0000 |
commit | bf8558bc9cab35f31bccd6a55e51f121370765c4 (patch) | |
tree | bf5396b1e4f7a9c2eff282a5f675e0cb59d1704e /nest/rt-table.c | |
parent | ebc793a5f552bb676014f771d81c074b7dd4345d (diff) |
Converted shutdown to a kind of reconfiguration, it's no more handled
as a exception in protocol state machines. Introduced a `shutdown'
CLI command. Killed few reconfiguration bugs.
Diffstat (limited to 'nest/rt-table.c')
-rw-r--r-- | nest/rt-table.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nest/rt-table.c b/nest/rt-table.c index b0d1e291..dcde0af8 100644 --- a/nest/rt-table.c +++ b/nest/rt-table.c @@ -513,7 +513,7 @@ rt_commit(struct config *new, struct config *old) if (!ot->deleted) { struct symbol *sym = cf_find_symbol(o->name); - if (sym && sym->class == SYM_TABLE) + if (sym && sym->class == SYM_TABLE && !new->shutdown) { DBG("\t%s: same\n", o->name); r = sym->def; @@ -522,7 +522,7 @@ rt_commit(struct config *new, struct config *old) } else { - DBG("\t%s: deleted", o->name); + DBG("\t%s: deleted\n", o->name); ot->deleted = old; config_add_obstacle(old); rt_lock_table(ot); |