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

Allow setting debug value and `disabled' flag in protocol definition.

This commit is contained in:
Martin Mares
1998-11-29 14:40:39 +00:00
parent 0cf86f0fc3
commit bd5d0d62f1
3 changed files with 9 additions and 3 deletions

View File

@ -60,6 +60,7 @@ struct proto {
pool *pool; /* Local objects */
unsigned preference; /* Default route preference */
unsigned state; /* PRS_... */
unsigned disabled; /* Manually disabled */
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);