Merge pull request #12222 from LabNConsulting/working/lb/fix-p2X-acks

ospfd: fix bug where acks were not be generated to incoming P2P/P2MP peers
This commit is contained in:
Jafar Al-Gharaibeh 2022-10-29 16:57:12 -05:00 committed by GitHub
commit d353152de7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);
}