diff options
author | paul <paul> | 2003-06-15 01:28:29 +0000 |
---|---|---|
committer | paul <paul> | 2003-06-15 01:28:29 +0000 |
commit | 4f5d5436701d33b24c967ee545ac4946d3f517a4 (patch) | |
tree | 443092572237d8623a44a66a54620a268473292e /zebra/zebra_rib.c | |
parent | 1b4fb9f48c9afb705e5206de0dc5a7f20915f0ed (diff) | |
download | quagga-4f5d5436701d33b24c967ee545ac4946d3f517a4.tar.bz2 quagga-4f5d5436701d33b24c967ee545ac4946d3f517a4.tar.xz |
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); |