From 752ee70be899a388d9e8432f8b78b92159a832c4 Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Thu, 31 May 2018 20:51:43 -0400 Subject: [PATCH] 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 --- ospfd/ospf_flood.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ospfd/ospf_flood.c b/ospfd/ospf_flood.c index 183ddc0d89..820b892176 100644 --- a/ospfd/ospf_flood.c +++ b/ospfd/ospf_flood.c @@ -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 -- 2.39.5