diff options
author | Martin Mares <mj@ucw.cz> | 1999-03-03 20:33:54 +0100 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 1999-03-03 20:33:54 +0100 |
commit | b2280748ad5087b5dab54dd4e423053ffe1f2387 (patch) | |
tree | 90997ee7e125ed00a7bc113e68676014f23bd43c /nest/protocol.h | |
parent | 84c7e1943f0dbf896b1dd8d02a21120aa00463f4 (diff) | |
download | bird-b2280748ad5087b5dab54dd4e423053ffe1f2387.tar bird-b2280748ad5087b5dab54dd4e423053ffe1f2387.zip |
Introduced protocol priority (all 'normal' protocols should use the
default zero priority). No more "kernel syncer initialized before
device routes" problems.
Diffstat (limited to 'nest/protocol.h')
-rw-r--r-- | nest/protocol.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nest/protocol.h b/nest/protocol.h index 9463861..cb30754 100644 --- a/nest/protocol.h +++ b/nest/protocol.h @@ -30,6 +30,7 @@ struct protocol { node n; char *name; unsigned debug; /* Default debugging flags */ + int priority; /* Protocol priority (usually 0) */ void (*preconfig)(struct protocol *, struct config *); /* Just before configuring */ void (*postconfig)(struct proto_config *); /* After configuring each instance */ |