Bug in LLDP remote port lookup

Please look at my post that is related.

Can you check on your gear and see if the SNMP lldpLocPortId matches the lldpRemPortId of the connected switch. If so, the method I am looking at writing might just fix your problems as well.