From 271327b121ef552336d628f46741e250349d6214 Mon Sep 17 00:00:00 2001 From: Renato Westphal Date: Thu, 29 Sep 2016 14:52:32 -0300 Subject: [PATCH] ldpd: reset interface configuration when it's disabled This is necessary to prevent the same old configuration to come back when the interface is reactivated later for a given address-family. Signed-off-by: Renato Westphal --- ldpd/ldp_vty_conf.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ldpd/ldp_vty_conf.c b/ldpd/ldp_vty_conf.c index a3e1b9a250..1cc9bea9dd 100644 --- a/ldpd/ldp_vty_conf.c +++ b/ldpd/ldp_vty_conf.c @@ -833,6 +833,8 @@ ldp_vty_interface(struct vty *vty, struct vty_arg *args[]) goto cancel; ia->enabled = 0; + ia->hello_holdtime = 0; + ia->hello_interval = 0; ldp_reload(vty_conf); return (CMD_SUCCESS); } -- 2.39.5