diff options
author | Mikael Magnusson <mikma@users.sourceforge.net> | 2021-01-20 00:38:42 +0100 |
---|---|---|
committer | Mikael Magnusson <mikma@users.sourceforge.net> | 2021-01-20 01:21:29 +0100 |
commit | 89e404be46cfa30fdb994464a1c8e4fd93d3407f (patch) | |
tree | 48ab8c94caaea2991b5826906ce374ca8a3b4992 /internal/pkg | |
parent | 35e733246e1aff6688f2e4f624c7a80be33fb7b9 (diff) |
packet/bgp: Fix TunnelEncapSubTLV.DecodeFromBytes
Return data of the correct length from TunnelEncapSubTLV.DecodeFromBytes.
This fixes a problem with TunnelEncapSubTLVUnknown which caused it to
contain more bytes in its Value unless it was the last SubTLV.
Signed-off-by: Mikael Magnusson <mikma@users.sourceforge.net>
Diffstat (limited to 'internal/pkg')
0 files changed, 0 insertions, 0 deletions