]> git.puffer.fish Git - mirror/frr.git/commit
ldpd: extend the ldp_config_normalize() function
authorRenato Westphal <renato@opensourcerouting.org>
Fri, 31 Mar 2017 01:15:33 +0000 (22:15 -0300)
committerRenato Westphal <renato@opensourcerouting.org>
Fri, 31 Mar 2017 15:57:37 +0000 (12:57 -0300)
commit7d0eeac1a154b76ff55c1ad53ae97a05a3ca977a
tree1b6a496012f76a562edec9fdd04136deb883d6fb
parent52b530fc64355933d428e2b88591cbf926b85bc8
ldpd: extend the ldp_config_normalize() function

* remove superfluous parts of the configuration when possible
  (e.g. interfaces that are disabled for both IPv4 and IPv6);
* move the check of whether the pseudowire is active or not from
  merge_l2vpns() to ldp_config_normalize() where it belongs.

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