]> git.ipfire.org Git - thirdparty/bird.git/commit
OSPF: Fix handling of NSSA option flags
authorOndrej Zajicek (work) <santiago@crfreenet.org>
Wed, 10 Jul 2019 16:25:36 +0000 (18:25 +0200)
committerOndrej Zajicek (work) <santiago@crfreenet.org>
Wed, 10 Jul 2019 16:25:36 +0000 (18:25 +0200)
commit1aec7112f7314c3e9a4d8b9440dd85a782295310
tree0a48e1eeb5a43c8905fbb1b779e2f487fc2b5aad
parent422a9334294dd9a5b13abd8563a3dc7233e64b13
OSPF: Fix handling of NSSA option flags

Per RFC 3101, N-bit signalling NSSA support should be used only in Hello
packets, not in DBDES packets. BIRD since 2.0.4 verifies N-bit in
neighbor structure, which is learned from DBDES packets, therefore
NSSA-LSAs are not propagated to proper implementations of RFC 3101.

This patch fixes that. Both removing the check and removing N-bit from
DBDES packet. This will fix compatibility issues with proper
implementations, but causes compatibility issues with BIRD 2.0.4.
proto/ospf/dbdes.c
proto/ospf/hello.c
proto/ospf/lsalib.c
proto/ospf/ospf.c
proto/ospf/ospf.h