* Features:
+ Ability to set promiscuous mode to work around bugs of some
switches encapsulating LLDP frames inside 802.1Q frames.
+ * Fix:
+ + Fix checksum computation for Cisco CDP.
lldpd (0.7.9)
* Changes:
goto toobig;
}
#endif
-
+
/* Software version */
if (!(
POKE_START_CDP_TLV(CDP_TLV_SOFTWARE) &&
1 /* cisco checksum */
#endif
);
- /* An off-by-one error may happen. Just ignore it */
- if ((cksum != 0) && (cksum != 0xfffe)) {
+ if (cksum != 0) {
log_info("cdp", "incorrect CDP/FDP checksum for frame received on %s (%d)",
hardware->h_ifname, cksum);
goto malformed;