summaryrefslogtreecommitdiffstats
path: root/ospfd
diff options
context:
space:
mode:
authorLou Berger <lberger@labn.net>2022-10-29 19:17:56 +0200
committerLou Berger <lberger@labn.net>2022-10-29 19:17:56 +0200
commitdd3b58a00aebc1b72c2dc18cc28d9cb6bbcd1c5b (patch)
tree439ab6d09cb492ce3b1eca1f7ec7ee561449c366 /ospfd
parentMerge pull request #12216 from donaldsharp/language_none (diff)
downloadfrr-dd3b58a00aebc1b72c2dc18cc28d9cb6bbcd1c5b.tar.xz
frr-dd3b58a00aebc1b72c2dc18cc28d9cb6bbcd1c5b.zip
ospfd: fix bug where acks were not be generated to incoming P2P/P2MP neighbors
Signed-off-by: Lou Berger <lberger@labn.net>
Diffstat (limited to 'ospfd')
-rw-r--r--ospfd/ospf_flood.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/ospfd/ospf_flood.c b/ospfd/ospf_flood.c
index c2af09a67..4bbeee2d7 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);
}