summaryrefslogtreecommitdiffstats
path: root/src/vty/vector.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2018-07-28 21:37:06 +0200
committerHarald Welte <laforge@gnumonks.org>2019-03-19 13:41:49 +0000
commit1261db15058cfa94615f26c1083bb8a38d09218b (patch)
treea7d7e6e45b0429c961da919168bb185e9cd5cf7d /src/vty/vector.c
parentfb6f43ee0c6a288e036ca616a29f6b7485d426c6 (diff)
ipa_ccm_idtag_parse*: Fix reported length value
IPA CCM is using a somewhat weird TLV encoding scheme: * 16bit length (of tag and value) * 8bit tag * value Our existing code mapping the CCM to 'struct tlv_parse' used the plain length value without accounting for the one-byte tag. This patch ensures we only report the length of the "value" part, excluding the tag. Change-Id: I435aaa33605bd48635715a2c81aa2d231c1abf51
Diffstat (limited to 'src/vty/vector.c')
0 files changed, 0 insertions, 0 deletions