diff options
| author | Russ White <russ@riw.us> | 2023-05-16 08:37:19 -0400 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-05-16 08:37:19 -0400 | 
| commit | 425fc1f5b7f42c16d27ecdc602546d4521793d6f (patch) | |
| tree | 7a12a2bec6d0ab06aa61c54fc738081893eadd41 /ospfd/ospf_interface.c | |
| parent | cf0eeb3dc17d7ff9a4874464e95dbf6d971cb437 (diff) | |
| parent | 6a3631468d4d5ef2a29f371aab021e6b9a4490a9 (diff) | |
Merge pull request #12949 from opensourcerouting/ospf-unplanned-gr
OSPF GR for unplanned outages
Diffstat (limited to 'ospfd/ospf_interface.c')
| -rw-r--r-- | ospfd/ospf_interface.c | 4 | 
1 files changed, 4 insertions, 0 deletions
diff --git a/ospfd/ospf_interface.c b/ospfd/ospf_interface.c index f18aa399a4..8da982aed8 100644 --- a/ospfd/ospf_interface.c +++ b/ospfd/ospf_interface.c @@ -530,6 +530,7 @@ static struct ospf_if_params *ospf_new_if_params(void)  	UNSET_IF_PARAM(oip, passive_interface);  	UNSET_IF_PARAM(oip, v_hello);  	UNSET_IF_PARAM(oip, fast_hello); +	UNSET_IF_PARAM(oip, v_gr_hello_delay);  	UNSET_IF_PARAM(oip, v_wait);  	UNSET_IF_PARAM(oip, priority);  	UNSET_IF_PARAM(oip, type); @@ -679,6 +680,9 @@ int ospf_if_new_hook(struct interface *ifp)  	SET_IF_PARAM(IF_DEF_PARAMS(ifp), fast_hello);  	IF_DEF_PARAMS(ifp)->fast_hello = OSPF_FAST_HELLO_DEFAULT; +	SET_IF_PARAM(IF_DEF_PARAMS(ifp), v_gr_hello_delay); +	IF_DEF_PARAMS(ifp)->v_gr_hello_delay = OSPF_HELLO_DELAY_DEFAULT; +  	SET_IF_PARAM(IF_DEF_PARAMS(ifp), v_wait);  	IF_DEF_PARAMS(ifp)->v_wait = OSPF_ROUTER_DEAD_INTERVAL_DEFAULT;  | 
