summaryrefslogtreecommitdiff
path: root/ospfd/ospf_vty.c
diff options
context:
space:
mode:
authorRenato Westphal <renato@opensourcerouting.org>2021-04-13 00:14:56 -0300
committerGitHub <noreply@github.com>2021-04-13 00:14:56 -0300
commit0a6a5721c683e8db99801e787b40a5c347a1ba6f (patch)
treee6747341d630c2bb44a5e41fa173350826218cb8 /ospfd/ospf_vty.c
parent1df904706ceed31cb6d4cb6af096ac4664140b55 (diff)
parent6dd632c65d63b015edd4d25fe21c59ca03556858 (diff)
Merge pull request #8396 from achernavin22/ospf_fast_hello_show_run
ospfd: fix output of dead-interval in show running
Diffstat (limited to 'ospfd/ospf_vty.c')
-rw-r--r--ospfd/ospf_vty.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ospfd/ospf_vty.c b/ospfd/ospf_vty.c
index 92d13e616c..2d06e6884d 100644
--- a/ospfd/ospf_vty.c
+++ b/ospfd/ospf_vty.c
@@ -11710,6 +11710,7 @@ static int config_write_interface_one(struct vty *vty, struct vrf *vrf)
/* Router Dead Interval print. */
if (OSPF_IF_PARAM_CONFIGURED(params, v_wait)
+ && params->is_v_wait_set
&& params->v_wait
!= OSPF_ROUTER_DEAD_INTERVAL_DEFAULT) {
vty_out(vty, " ip ospf dead-interval ");