summaryrefslogtreecommitdiff
path: root/lib/segment_routing.h
diff options
context:
space:
mode:
authorIgor Ryzhov <iryzhov@nfware.com>2024-04-02 00:56:17 +0300
committerIgor Ryzhov <iryzhov@nfware.com>2024-04-02 14:48:52 +0300
commitc3d34b84f3e1b789b78b6ee93068f074eb884af1 (patch)
tree0965ce909187aa8f7048807d51ac3dc4c2641fd5 /lib/segment_routing.h
parenta6191348f8753cd3256a2519d0f2c48fc4628dbc (diff)
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>
Diffstat (limited to 'lib/segment_routing.h')
0 files changed, 0 insertions, 0 deletions