summaryrefslogtreecommitdiffstats
path: root/ldpd/ldp_vty_conf.c
diff options
context:
space:
mode:
authorRenato Westphal <renato@opensourcerouting.org>2017-10-03 15:30:44 +0200
committerRenato Westphal <renato@opensourcerouting.org>2017-10-03 21:31:37 +0200
commit3b2d98c58e2a5b1db6fbcd7ffb8d9f7972654b82 (patch)
tree2fdea928cc412ee50335ad97050507bcf8a554aa /ldpd/ldp_vty_conf.c
parentldpd: remove the "discovery targeted-hello" commands from the interface node (diff)
downloadfrr-3b2d98c58e2a5b1db6fbcd7ffb8d9f7972654b82.tar.xz
frr-3b2d98c58e2a5b1db6fbcd7ffb8d9f7972654b82.zip
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>
Diffstat (limited to 'ldpd/ldp_vty_conf.c')
-rw-r--r--ldpd/ldp_vty_conf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ldpd/ldp_vty_conf.c b/ldpd/ldp_vty_conf.c
index f43370af2..76c602afb 100644
--- a/ldpd/ldp_vty_conf.c
+++ b/ldpd/ldp_vty_conf.c
@@ -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");
}