From 182d6bdc160ea1cc23b790029dd64a3f138070a5 Mon Sep 17 00:00:00 2001 From: Kaushik Date: Sat, 19 Sep 2020 00:29:25 -0700 Subject: ospfd : Fix for ospf dead interval and hello due. 1. Ospf dead-interval will be set as 4 times of hello-interval, incase if it is not set by using "ip ospf dead-interval ". 2. On resetting hello-interval using "no ip ospf hello-interval" the dead interval and hello due will be changed accordingly. Signed-off-by: Kaushik --- ospfd/ospf_interface.h | 1 + 1 file changed, 1 insertion(+) (limited to 'ospfd/ospf_interface.h') diff --git a/ospfd/ospf_interface.h b/ospfd/ospf_interface.h index 1d28eac6b3..bf59af16c2 100644 --- a/ospfd/ospf_interface.h +++ b/ospfd/ospf_interface.h @@ -84,6 +84,7 @@ struct ospf_if_params { DECLARE_IF_PARAM(uint32_t, v_hello); /* Hello Interval */ DECLARE_IF_PARAM(uint32_t, v_wait); /* Router Dead Interval */ + bool is_v_wait_set; /* Check for Dead Interval set */ /* MTU mismatch check (see RFC2328, chap 10.6) */ DECLARE_IF_PARAM(uint8_t, mtu_ignore); -- cgit v1.2.3