diff options
author | Renato Westphal <renato@opensourcerouting.org> | 2017-03-30 16:33:08 +0200 |
---|---|---|
committer | Renato Westphal <renato@opensourcerouting.org> | 2017-03-31 18:51:53 +0200 |
commit | 1d75a89d8553caab99e58668af30a9803d40d49b (patch) | |
tree | bdfdc77f6f84973d2fe3e27a1da6d0fa1b75a322 /ldpd/ldpe.h | |
parent | ldpd: extend the ldp_config_normalize() function (diff) | |
download | frr-1d75a89d8553caab99e58668af30a9803d40d49b.tar.xz frr-1d75a89d8553caab99e58668af30a9803d40d49b.zip |
ldpd: do not consume vty_conf when updating the configuration
David Lamparter gave the idea of keeping vty_conf as a permanent copy of
ldpd_conf in order to simplify the CLI code and facilitate the integration
with his cap'n proto framework in the future. Doing this demanded quite
some effort but it was worth it as the code looks much better now.
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'ldpd/ldpe.h')
-rw-r--r-- | ldpd/ldpe.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ldpd/ldpe.h b/ldpd/ldpe.h index e4b8394aa..a3f41a8b9 100644 --- a/ldpd/ldpe.h +++ b/ldpd/ldpe.h @@ -215,7 +215,8 @@ void mapping_list_clr(struct mapping_head *); /* interface.c */ struct iface *if_new(const char *); -void if_exit(struct iface *); +void ldpe_if_init(struct iface *); +void ldpe_if_exit(struct iface *); struct iface *if_lookup(struct ldpd_conf *, unsigned short); struct iface *if_lookup_name(struct ldpd_conf *, const char *); void if_update_info(struct iface *, struct kif *); |