mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-14 16:04:49 +00:00
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>
This commit is contained in:
parent
3c65c73ffa
commit
2c1f2d2ad9
@ -11845,9 +11845,7 @@ static int config_write_interface_one(struct vty *vty, struct vrf *vrf)
|
|||||||
|
|
||||||
/* Router Dead Interval print. */
|
/* Router Dead Interval print. */
|
||||||
if (OSPF_IF_PARAM_CONFIGURED(params, v_wait)
|
if (OSPF_IF_PARAM_CONFIGURED(params, v_wait)
|
||||||
&& params->is_v_wait_set
|
&& params->is_v_wait_set) {
|
||||||
&& params->v_wait
|
|
||||||
!= OSPF_ROUTER_DEAD_INTERVAL_DEFAULT) {
|
|
||||||
vty_out(vty, " ip ospf dead-interval ");
|
vty_out(vty, " ip ospf dead-interval ");
|
||||||
|
|
||||||
/* fast hello ? */
|
/* fast hello ? */
|
||||||
|
Loading…
Reference in New Issue
Block a user