Merge pull request #10314 from ckishimo/ospf6d_extstub

ospf6d: do not send Type-5 into stub area
This commit is contained in:
Donald Sharp 2022-01-13 09:04:35 -05:00 committed by GitHub
commit ab0cc8a3f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -207,7 +207,7 @@ int ospf6_orig_as_external_lsa(struct thread *thread)
if (oi->state == OSPF6_INTERFACE_DOWN)
return 0;
if (IS_AREA_NSSA(oi->area))
if (IS_AREA_NSSA(oi->area) || IS_AREA_STUB(oi->area))
return 0;
type = htons(OSPF6_LSTYPE_AS_EXTERNAL);