summaryrefslogtreecommitdiffstats
path: root/nest/protocol.h
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>1999-11-30 15:04:09 +0100
committerMartin Mares <mj@ucw.cz>1999-11-30 15:04:09 +0100
commit1d2664a4d4455470e0b6c7fc50d232283e39e1e0 (patch)
treeaf8631708680683180d89001f64baa0be5929d2c /nest/protocol.h
parentc9aae7f47fd7ad71b80cbc86c01a26c504ba08d0 (diff)
downloadbird-1d2664a4d4455470e0b6c7fc50d232283e39e1e0.tar
bird-1d2664a4d4455470e0b6c7fc50d232283e39e1e0.zip
Remember protocol instance in proto_config and use that for
`show protocols <name>'.
Diffstat (limited to 'nest/protocol.h')
-rw-r--r--nest/protocol.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/nest/protocol.h b/nest/protocol.h
index 2a21c11..8958d07 100644
--- a/nest/protocol.h
+++ b/nest/protocol.h
@@ -74,7 +74,8 @@ extern struct protocol proto_pipe;
struct proto_config {
node n;
struct config *global; /* Global configuration data */
- struct protocol *proto; /* Protocol */
+ struct protocol *protocol; /* Protocol */
+ struct proto *proto; /* Instance we've created */
char *name;
unsigned debug, preference, disabled; /* Generic parameters */
struct rtable_config *table; /* Table we're attached to */