]> git.puffer.fish Git - mirror/frr.git/commit
babeld: Ignore sub-tlv's with mandatory bit set 11386/head
authorDonald Sharp <sharpd@nvidia.com>
Wed, 8 Jun 2022 13:01:31 +0000 (09:01 -0400)
committerMergify <37929162+mergify[bot]@users.noreply.github.com>
Fri, 10 Jun 2022 05:42:46 +0000 (05:42 +0000)
commit496dca5080f2e3e828b32a8fcc4ce2ac265b721c
tree797284913a637a59fb1c741691d7dee7d3bcd304
parent9a4124d29e089a8e6e003a7ab105cb70025288fd
babeld: Ignore sub-tlv's with mandatory bit set

RFC 8966 4.4

   If the mandatory bit is set, then the
   whole enclosing TLV MUST be silently ignored (except for updating the
   parser state by a Router-Id, Next Hop, or Update TLV, as described in
   the next section).

Fixes: #11349
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
(cherry picked from commit a76cf7e49e62b60d5aedd1e6d6f562cb90ed051b)
babeld/message.c
babeld/message.h