diff options
author | paul <paul> | 2003-06-15 01:28:29 +0000 |
---|---|---|
committer | paul <paul> | 2003-06-15 01:28:29 +0000 |
commit | b21b19c5785487f2ff4a6ce38f45c2e6c35f4363 (patch) | |
tree | c79f90ce7bd798b3f1391010153d9fdf7c7418f0 /zebra/zebra_rib.c | |
parent | 0e4f190ebf5a26e4b66fb49cd74ae0ff0c7e0863 (diff) |
2003-06-15 Paul Jakma <paul@dishone.st>
* lib/vty.{c,h}: Remove vty layer depending on a 'master' global,
pass the thread master in explicitly to vty_init. Sort out some
header dependency problems with lib/command.h
* zebra/: Move globals to struct zebrad. Update vty_init().
* (.*)/\1_main.c: update call to vty_init().
Diffstat (limited to 'zebra/zebra_rib.c')
-rw-r--r-- | zebra/zebra_rib.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/zebra/zebra_rib.c b/zebra/zebra_rib.c index 4098db26..2209364c 100644 --- a/zebra/zebra_rib.c +++ b/zebra/zebra_rib.c @@ -37,7 +37,7 @@ #include "zebra/debug.h" /* Default rtm_table for all clients */ -extern int rtm_table_default; +extern struct zebra_t zebrad; /* Each route type's string and default distance value. */ struct @@ -2147,7 +2147,7 @@ rib_weed_table (struct route_table *table) { next = rib->next; - if (rib->table != rtm_table_default && + if (rib->table != zebrad.rtm_table_default && rib->table != RT_TABLE_MAIN) { rib_delnode (rn, rib); |