]> git.ipfire.org Git - thirdparty/bird.git/blobdiff - proto/ospf/lsalib.c
OSPF: Fix handling of NSSA option flags
[thirdparty/bird.git] / proto / ospf / lsalib.c
index 7767700f8a7ddffdbfd62f79a5853d40776eac20..7aae96ba5a5487618249678592a512cb39444226 100644 (file)
@@ -98,8 +98,7 @@ lsa_is_acceptable(u32 type, struct ospf_neighbor *n, struct ospf_proto *p)
 {
   if (ospf_is_v2(p))
   {
-    if (type == LSA_T_NSSA)
-      return !!(n->options & OPT_N);
+    /* Do not check NSSA-LSA here, as OPT_N is only in HELLO packets */
 
     if (lsa_is_opaque(type))
       return !!(n->options & OPT_O);