Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions napalm_procurve/procurve.py
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,10 @@ def get_lldp_neighbors(self):
split_output = split_output.strip()

for lldp_entry in split_output.splitlines():
# Exclude any lines that are a continuation of an entry
if '|' not in lldp_entry:
continue

# Example, 1 | 00 25 90 3d c3 1f eth0 eth0 (none).(none)
local_port = lldp_entry.strip().split(" ", 1)[0].strip()

Expand Down