ospfd: Note that we do not care about self origination in this case

When we first get a packet, we need to know if we are self
originated later to make correct decisions.  Go ahead and
note that we do not plan to make any decision points
about our self origination here.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
Donald Sharp 2018-05-31 20:51:43 -04:00
parent b260862317
commit 752ee70be8

View File

@ -319,7 +319,7 @@ int ospf_flood(struct ospf *ospf, struct ospf_neighbor *nbr,
/* Do some internal house keeping that is needed here */
SET_FLAG(new->flags, OSPF_LSA_RECEIVED);
ospf_lsa_is_self_originated(ospf, new); /* Let it set the flag */
(void)ospf_lsa_is_self_originated(ospf, new); /* Let it set the flag */
/* Install the new LSA in the link state database
(replacing the current database copy). This may cause the