Update frame.c

the checksum of CDP frame is calculated off-by-one error when the length of frame is odd ,and the highest bit of the last octet is 1, which is as a known question mentioned in wireshark.