Skip to content

Commit

Permalink
Merge pull request #1640 from matejv/junos_lldp_dedup
Browse files Browse the repository at this point in the history
junos: make sure we don't duplicate lldp neighbor entries
  • Loading branch information
mirceaulinic committed May 20, 2022
2 parents a802614 + 2065a09 commit d419cde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion napalm/junos/junos.py
Original file line number Diff line number Diff line change
Expand Up @@ -957,7 +957,7 @@ def get_lldp_neighbors_detail(self, interface=""):
log.error("Unable to retrieve the LLDP neighbors information:")
log.error(str(rpcerr))
return {}
interfaces = lldp_table.get().keys()
interfaces = set(lldp_table.get().keys())
else:
interfaces = [interface]

Expand Down

0 comments on commit d419cde

Please sign in to comment.