]> git.puffer.fish Git - mirror/frr.git/commit
isisd: fix ip/ipv6 reachability tlvs 15655/head
authorIgor Ryzhov <iryzhov@nfware.com>
Mon, 1 Apr 2024 21:56:17 +0000 (00:56 +0300)
committerIgor Ryzhov <iryzhov@nfware.com>
Tue, 2 Apr 2024 11:48:52 +0000 (14:48 +0300)
commitc3d34b84f3e1b789b78b6ee93068f074eb884af1
tree0965ce909187aa8f7048807d51ac3dc4c2641fd5
parenta6191348f8753cd3256a2519d0f2c48fc4628dbc
isisd: fix ip/ipv6 reachability tlvs

Don't allocate subtlvs container if there's nothing to add to it. If the
container is allocated, the "sub-TLVs presence" bit is set in the TLVs
even if there's no actual sub-TLVs, what violates the RFC.

Fixes #14514.

Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
isisd/isis_tlvs.c