link discovery manager packet-out input port bug fix.