forked from Mirror/frr
ospfd: ospf-start-lsreq-b4-exchange.patch
OSPFv2: Don't wait for state change to Exchange to start LSReq
This commit is contained in:
parent
907f92c8fc
commit
97dba7b704
|
@ -338,7 +338,8 @@ nsm_exchange_done (struct ospf_neighbor *nbr)
|
||||||
return NSM_Full;
|
return NSM_Full;
|
||||||
|
|
||||||
/* Send Link State Request. */
|
/* Send Link State Request. */
|
||||||
ospf_ls_req_send (nbr);
|
if (nbr->t_ls_req == NULL)
|
||||||
|
ospf_ls_req_send (nbr);
|
||||||
|
|
||||||
return NSM_Loading;
|
return NSM_Loading;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1205,6 +1205,9 @@ ospf_db_desc_proc (struct stream *s, struct ospf_interface *oi,
|
||||||
|
|
||||||
/* Save received neighbor values from DD. */
|
/* Save received neighbor values from DD. */
|
||||||
ospf_db_desc_save_current (nbr, dd);
|
ospf_db_desc_save_current (nbr, dd);
|
||||||
|
|
||||||
|
if (!nbr->t_ls_req)
|
||||||
|
ospf_ls_req_send (nbr);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int
|
||||||
|
|
Loading…
Reference in a new issue