1
0
mirror of https://gitlab.labs.nic.cz/labs/bird.git synced 2024-05-11 16:54:54 +00:00

Solve chicken-and-egg problems with protocol startup. We now queue all inactive

protocols and don't send route/interface updates to them and when they come up,
we resend the whole route/interface tables privately.

Removed the "scan interface list after protocol start" work-around.
This commit is contained in:
Martin Mares
1998-10-17 11:05:18 +00:00
parent d92882be9b
commit 47b793064c
7 changed files with 62 additions and 8 deletions

View File

@@ -58,6 +58,7 @@ struct proto {
unsigned debug; /* Debugging flags */
pool *pool; /* Local objects */
unsigned preference; /* Default route preference */
int ready; /* Already initialized */
void (*if_notify)(struct proto *, unsigned flags, struct iface *new, struct iface *old);
void (*rt_notify)(struct proto *, struct network *net, struct rte *new, struct rte *old);
@@ -79,6 +80,6 @@ struct proto {
void *proto_new(struct protocol *, unsigned size);
extern list proto_list;
extern list proto_list, inactive_proto_list;
#endif