summaryrefslogtreecommitdiff
path: root/src/basic/barrier.h
diff options
context:
space:
mode:
authorBeniamino Galvani <bgalvani@redhat.com>2015-09-29 17:48:37 +0200
committerBeniamino Galvani <bgalvani@redhat.com>2015-10-02 17:39:22 +0200
commit29eca2ff897dfbac65ef401515effb055da65339 (patch)
tree7ff8a046eece158560e6f8e87be54b271c0ac1d3 /src/basic/barrier.h
parent0037c2dc54ca5bc5a3ec428619ff136066467565 (diff)
lldp: fix parsing of TLV length
tlv_packet_read_bytes() and tlv_packet_read_string() returned the wrong length when called after other functions which modify the offset in the container. In other words, if the TLV data length is X and we do a tlv_packet_read_u8(), a subsequent tlv_packet_read_bytes() should return a length of (X - 1).
Diffstat (limited to 'src/basic/barrier.h')
0 files changed, 0 insertions, 0 deletions