summaryrefslogtreecommitdiffstats
path: root/ospf6d/ospf6_asbr.c
diff options
context:
space:
mode:
authorDonald Sharp <donaldsharp72@gmail.com>2022-01-13 15:04:35 +0100
committerGitHub <noreply@github.com>2022-01-13 15:04:35 +0100
commitab0cc8a3f8f5a2b553975a165ac0aee18b483959 (patch)
tree25997a0ed85dc909b0da59c0bcf7e068571b41f9 /ospf6d/ospf6_asbr.c
parentMerge pull request #10324 from anlancs/fix-ospf-stream (diff)
parentospf6d: do not send Type-5 into stub area (diff)
downloadfrr-ab0cc8a3f8f5a2b553975a165ac0aee18b483959.tar.xz
frr-ab0cc8a3f8f5a2b553975a165ac0aee18b483959.zip
Merge pull request #10314 from ckishimo/ospf6d_extstub
ospf6d: do not send Type-5 into stub area
Diffstat (limited to 'ospf6d/ospf6_asbr.c')
-rw-r--r--ospf6d/ospf6_asbr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ospf6d/ospf6_asbr.c b/ospf6d/ospf6_asbr.c
index 568cf29f6..5e7ba81a3 100644
--- a/ospf6d/ospf6_asbr.c
+++ b/ospf6d/ospf6_asbr.c
@@ -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);