From dd3b58a00aebc1b72c2dc18cc28d9cb6bbcd1c5b Mon Sep 17 00:00:00 2001 From: Lou Berger Date: Sat, 29 Oct 2022 17:17:56 +0000 Subject: [PATCH] ospfd: fix bug where acks were not be generated to incoming P2P/P2MP neighbors Signed-off-by: Lou Berger --- ospfd/ospf_flood.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ospfd/ospf_flood.c b/ospfd/ospf_flood.c index c2af09a679..4bbeee2d74 100644 --- a/ospfd/ospf_flood.c +++ b/ospfd/ospf_flood.c @@ -818,6 +818,11 @@ int ospf_flood_through(struct ospf *ospf, struct ospf_neighbor *inbr, break; } + /* always need to send ack when incoming intf is PTP or P2MP */ + if (inbr != NULL && (inbr->oi->type == OSPF_IFTYPE_POINTOMULTIPOINT || + inbr->oi->type == OSPF_IFTYPE_POINTOPOINT)) + lsa_ack_flag = 1; + return (lsa_ack_flag); } -- 2.39.5