diff --git a/scripts/lldpshow b/scripts/lldpshow index b0a145adab..8a6182a0ae 100755 --- a/scripts/lldpshow +++ b/scripts/lldpshow @@ -147,7 +147,7 @@ class Lldpshow(object): capabs = [capabs] capab = self.parse_cap(capabs) self.lldpsum[key]['r_name'] = rmt_name - self.lldpsum[key]['r_portname'] = remote_port['descr'] + self.lldpsum[key]['r_portname'] = remote_port.get('descr') or '' self.lldpsum[key]['capability'] = capab def sort_sum(self, summary):