diff options
Diffstat (limited to 'ospfd/ospfd.c')
| -rw-r--r-- | ospfd/ospfd.c | 20 | 
1 files changed, 2 insertions, 18 deletions
| diff --git a/ospfd/ospfd.c b/ospfd/ospfd.c index 9161f9ce..bf8ca4dc 100644 --- a/ospfd/ospfd.c +++ b/ospfd/ospfd.c @@ -185,6 +185,8 @@ ospf_new (void)    /* SPF timer value init. */    new->spf_delay = OSPF_SPF_DELAY_DEFAULT;    new->spf_holdtime = OSPF_SPF_HOLDTIME_DEFAULT; +  new->spf_max_holdtime = OSPF_SPF_MAX_HOLDTIME_DEFAULT; +  new->spf_hold_multiplier = 1;    /* MaxAge init. */    new->maxage_lsa = list_new (); @@ -1213,24 +1215,6 @@ ospf_area_import_list_unset (struct ospf *ospf, struct ospf_area * area)  }  int -ospf_timers_spf_set (struct ospf *ospf, u_int32_t delay, u_int32_t hold) -{ -  ospf->spf_delay = delay; -  ospf->spf_holdtime = hold; - -  return 1; -} - -int -ospf_timers_spf_unset (struct ospf *ospf) -{ -  ospf->spf_delay = OSPF_SPF_DELAY_DEFAULT; -  ospf->spf_holdtime = OSPF_SPF_HOLDTIME_DEFAULT; - -  return 1; -} - -int  ospf_timers_refresh_set (struct ospf *ospf, int interval)  {    int time_left; | 
