mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-05 18:16:43 +00:00
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>
This commit is contained in:
parent
16cd3d9d4a
commit
3b2d98c58e
@ -233,6 +233,7 @@ ldp_af_config_write(struct vty *vty, int af, struct ldpd_conf *conf,
|
||||
|
||||
ldp_af_iface_config_write(vty, af);
|
||||
|
||||
vty_out(vty, " !\n");
|
||||
vty_out(vty, " exit-address-family\n");
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user