]> git.puffer.fish Git - mirror/frr.git/commit
ospfd: add dead-interval 40 if configured in show running 9527/head
authorMobashshera Rasool <mrasool@vmware.com>
Tue, 31 Aug 2021 06:02:39 +0000 (23:02 -0700)
committermergify-bot <noreply@mergify.io>
Tue, 31 Aug 2021 17:04:21 +0000 (17:04 +0000)
commit9909b4ee2db791c40cc24af570687ce8dba615d3
tree845b08e3d872992933aa519c6c4aef102246f2f3
parent7dc4b63f2b4f184fbc7753cd3ffd2a7a674fbb98
ospfd: add dead-interval 40 if configured in show running

Problem Statement:
==================
When hello-interval is configured as 5, automatically dead interval becomes
4 times of hello i.e 20 seconds. But user wants the dead interval as
40 seconds and hello as 5 seconds. Therefore user configures it.
Now "ip ospf dead-interval 40" is not shown in "show running-config"
Therefore when user restarts the daemon, the dead interval goes back to
20 seconds and the neighbors are down.

Fix:
==================
If user configures dead-interval as 40, show it in show running config.

Fixes: #9401
Signed-off-by: Mobashshera Rasool <mrasool@vmware.com>
(cherry picked from commit 2c1f2d2ad963259dd9534da87c178bdac873e765)
ospfd/ospf_vty.c