From 7dc4827c968053e45bcb7f145e9986eeb20c993b Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Fri, 26 Mar 1999 21:50:43 +0000 Subject: 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. --- nest/proto.c | 1 + 1 file changed, 1 insertion(+) (limited to 'nest/proto.c') 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; -- cgit v1.2.3