summaryrefslogtreecommitdiffstats
path: root/nest/protocol.h
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>1998-11-29 15:40:39 +0100
committerMartin Mares <mj@ucw.cz>1998-11-29 15:40:39 +0100
commitbd5d0d62f10c65d56e1900014be5989a3feb8380 (patch)
tree33acdff0db62a4221888232cc23361c3bc830885 /nest/protocol.h
parent0cf86f0fc34c7daf020a9189279644af89e273a1 (diff)
downloadbird-bd5d0d62f10c65d56e1900014be5989a3feb8380.tar
bird-bd5d0d62f10c65d56e1900014be5989a3feb8380.zip
Allow setting debug value and `disabled' flag in protocol definition.
Diffstat (limited to 'nest/protocol.h')
-rw-r--r--nest/protocol.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/nest/protocol.h b/nest/protocol.h
index d94e02d..34624e9 100644
--- a/nest/protocol.h
+++ b/nest/protocol.h
@@ -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);