summaryrefslogtreecommitdiff
path: root/proto/ospf/lsalib.c
diff options
context:
space:
mode:
authorMaria Matejka <mq@ucw.cz>2019-07-15 16:07:16 +0200
committerMaria Matejka <mq@ucw.cz>2019-07-15 16:07:16 +0200
commit8263690e754a83b8f3c58bd0080a1628d6cba556 (patch)
tree9c0503f0a166b72f018ae3c2e0de0e91d089a62a /proto/ospf/lsalib.c
parentefd7c87b5bcd476ba74ffe9f369e2f6fe978cbb1 (diff)
parent1aec7112f7314c3e9a4d8b9440dd85a782295310 (diff)
Merge remote-tracking branch 'origin/master' into mq-filter-stack
Diffstat (limited to 'proto/ospf/lsalib.c')
-rw-r--r--proto/ospf/lsalib.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/proto/ospf/lsalib.c b/proto/ospf/lsalib.c
index 7767700f..7aae96ba 100644
--- a/proto/ospf/lsalib.c
+++ b/proto/ospf/lsalib.c
@@ -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);