diff options
Diffstat (limited to 'proto_lldp.c')
-rw-r--r-- | proto_lldp.c | 2 |
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(" ("); |