From a204514fa33802d0b1119c146c58428a5d5e6dfb Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Tue, 10 Mar 2009 19:57:18 +0100 Subject: [PATCH] Fix a parsing error for link aggregation TLV in LLDP --- src/lldp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lldp.c b/src/lldp.c index 22ff68f9..269f344d 100644 --- a/src/lldp.c +++ b/src/lldp.c @@ -521,6 +521,7 @@ lldp_decode(struct lldpd *cfg, char *frame, int s, break; case LLDP_TLV_DOT3_LA: CHECK_TLV_SIZE(9, "Link aggregation"); + PEEK_DISCARD_UINT8; port->p_aggregid = PEEK_UINT32; break; case LLDP_TLV_DOT3_MFS: -- 2.39.5