From: Vincent Bernat Date: Fri, 8 May 2026 20:56:44 +0000 (+0200) Subject: daemon/cdp: fix FDP MAC address X-Git-Tag: 1.0.22~33 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=89105ea86da67ae8de3e121abc0a5f58d0ae3461;p=thirdparty%2Flldpd.git daemon/cdp: fix FDP MAC address FDP never worked? --- diff --git a/NEWS b/NEWS index eefb58a6..81d4bda0 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,7 @@ +lldpd (1.0.22) + * Fix: + + Fix FDP MAC address + lldpd (1.0.21) * Changes: + Add "configure lldp portdescription-source" to choose how to populate port description (#763) diff --git a/src/daemon/protocols/cdp.c b/src/daemon/protocols/cdp.c index 8c53a018..08bad84f 100644 --- a/src/daemon/protocols/cdp.c +++ b/src/daemon/protocols/cdp.c @@ -291,7 +291,7 @@ cdp_decode(struct lldpd *cfg, char *frame, int s, struct lldpd_hardware *hardwar int software_len = 0, platform_len = 0, proto, version, nb, caps; const unsigned char cdpaddr[] = CDP_MULTICAST_ADDR; # ifdef ENABLE_FDP - const unsigned char fdpaddr[] = CDP_MULTICAST_ADDR; + const unsigned char fdpaddr[] = FDP_MULTICAST_ADDR; int fdp = 0; # endif u_int8_t *pos, *tlv, *pos_address, *pos_next_address;