]> git.puffer.fish Git - matthieu/frr.git/commit
ldpd: fix issue when displaying the running configuration
authorRenato Westphal <renato@opensourcerouting.org>
Tue, 3 Oct 2017 13:30:44 +0000 (10:30 -0300)
committerRenato Westphal <renato@opensourcerouting.org>
Tue, 3 Oct 2017 19:31:37 +0000 (16:31 -0300)
commit3b2d98c58e2a5b1db6fbcd7ffb8d9f7972654b82
tree2fdea928cc412ee50335ad97050507bcf8a554aa
parent16cd3d9d4a393f504608445a631c87bef6e83cfa
ldpd: fix issue when displaying the running configuration

More than a cosmetic fix, this should prevent issues with frr-reload.py.

Before:

mpls ldp
 router-id 1.1.1.1
 !
 address-family ipv4
  discovery transport-address 1.1.1.1
  !
  interface rt1-eth0
   discovery hello holdtime 10
   discovery hello interval 3
 exit-address-family
 !
!

After:

mpls ldp
 router-id 1.1.1.1
 !
 address-family ipv4
  discovery transport-address 1.1.1.1
  !
  interface rt1-eth0
   discovery hello holdtime 10
   discovery hello interval 3
  !
 exit-address-family
 !
!

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