]> git.proxmox.com Git - mirror_frr.git/commit - babeld/message.h
babeld: Ignore sub-tlv's with mandatory bit set
authorDonald Sharp <sharpd@nvidia.com>
Wed, 8 Jun 2022 13:01:31 +0000 (09:01 -0400)
committerDonald Sharp <sharpd@nvidia.com>
Thu, 9 Jun 2022 11:04:01 +0000 (07:04 -0400)
commita76cf7e49e62b60d5aedd1e6d6f562cb90ed051b
tree54d69f9e730400347f0d9b47015972ac5f31154e
parent54a3e60b3ebd3621c4dd90b0b49e8e36e4e100d8
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>
babeld/message.c
babeld/message.h