]> git.proxmox.com Git - mirror_frr.git/commit - ldpd/ldpd.c
ldpd: further improvements in the configuration handling
authorRenato Westphal <renato@opensourcerouting.org>
Fri, 2 Jun 2017 22:08:14 +0000 (19:08 -0300)
committerRenato Westphal <renato@opensourcerouting.org>
Sat, 3 Jun 2017 01:15:17 +0000 (22:15 -0300)
commite4a82008c60e9508e53595eea2ff94051171b28c
tree46d4865fdb5ff46a0086bcd7be7c966b3b3cfcf9
parentca70b756bf4c5b4aeb554fc1acd2c98aa696d6d7
ldpd: further improvements in the configuration handling

This patch attempts to make the code easier to read by removing a
global variable and changing a few other things. Also, ldpd now calls
merge_config() only after reading the whole initial configuration at
startup, instead of doing that for every command in the configuration
file.

Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
ldpd/ldp_vty_conf.c
ldpd/ldpd.c
ldpd/ldpd.h