Skip to content
This repository has been archived by the owner on Mar 7, 2018. It is now read-only.

Commit

Permalink
Fixed issue that happens when LLDP systemCapabilities TLV isn't sent …
Browse files Browse the repository at this point in the history
…by remote system.
  • Loading branch information
Colin McIntosh committed Feb 8, 2017
1 parent adee78d commit 3715eff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion napalm_eos/eos.py
Original file line number Diff line number Diff line change
Expand Up @@ -523,7 +523,7 @@ def get_lldp_neighbors_detail(self, interface=''):
for neighbor in interface_neighbors:
if interface not in lldp_neighbors_out.keys():
lldp_neighbors_out[interface] = []
capabilities = neighbor.get('systemCapabilities')
capabilities = neighbor.get('systemCapabilities', {})
capabilities_list = list(capabilities.keys())
capabilities_list.sort()
lldp_neighbors_out[interface].append(
Expand Down

0 comments on commit 3715eff

Please sign in to comment.