diff options
author | Martin Mares <mj@ucw.cz> | 1999-03-26 22:50:43 +0100 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 1999-03-26 22:50:43 +0100 |
commit | 7dc4827c968053e45bcb7f145e9986eeb20c993b (patch) | |
tree | 81363b40e7ed12b7a40d00752680bd694afcdf0d /nest/proto.c | |
parent | 7e5f5ffdda7232048c4baf3fdec358afb494a29d (diff) | |
download | bird-7dc4827c968053e45bcb7f145e9986eeb20c993b.tar bird-7dc4827c968053e45bcb7f145e9986eeb20c993b.zip |
Added everything protocols need to know about multiple routing tables,
i.e. struct proto now contains field 'table' pointing to routing table
the protocol is attached to. Use this instead of &master_table.
Modified all protocols except the kernel syncer to use this field.
Diffstat (limited to 'nest/proto.c')
-rw-r--r-- | nest/proto.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nest/proto.c b/nest/proto.c index 04ee289..450128e 100644 --- a/nest/proto.c +++ b/nest/proto.c @@ -86,6 +86,7 @@ proto_new(struct proto_config *c, unsigned size) p->preference = c->preference; p->disabled = c->disabled; p->proto = pr; + p->table = &master_table; p->in_filter = c->in_filter; p->out_filter = c->out_filter; return p; |