diff options
author | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2017-04-25 19:02:31 +0200 |
---|---|---|
committer | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2017-04-25 19:02:31 +0200 |
commit | b29499996bbc1612a63a7e715bb53a8abf0940e3 (patch) | |
tree | 2cda557718d08df68f0be9f5b05283bedeeb71b1 /nest/protocol.h | |
parent | 6f535924ebbb5a08d96c4a8d0cf0984b130a0995 (diff) |
Nest: Update of show route cmd
Some code cleanup, multiple bugfixes, allows to specify also channel
for 'show route export'. Interesting how such apparenty simple thing
like show route cmd has plenty of ugly corner cases.
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 6efaaaf7..f0958678 100644 --- a/nest/protocol.h +++ b/nest/protocol.h @@ -563,6 +563,7 @@ static inline struct channel_config *proto_cf_main_channel(struct proto_config * { struct channel_config *cc = HEAD(pc->channels); return NODE_VALID(cc) ? cc : NULL; } struct channel *proto_find_channel_by_table(struct proto *p, struct rtable *t); +struct channel *proto_find_channel_by_name(struct proto *p, const char *n); struct channel *proto_add_channel(struct proto *p, struct channel_config *cf); int proto_configure_channel(struct proto *p, struct channel **c, struct channel_config *cf); |