summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--proto_lldp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/proto_lldp.c b/proto_lldp.c
index 1640d19..889169a 100644
--- a/proto_lldp.c
+++ b/proto_lldp.c
@@ -356,7 +356,7 @@ static void lldp(struct pkt_buff *pkt)
goto out_invalid;
sys_cap = EXTRACT_16BIT(tlv_info_str);
- tlv_info_str += sizeof(uint32_t);
+ tlv_info_str += sizeof(uint16_t);
en_cap = EXTRACT_16BIT(tlv_info_str);
tprintf(" (");
e entries. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'Documentation')