diff --git a/network/lldp.py b/network/lldp.py index 6b8836852f6..d30fa5d9a60 100755 --- a/network/lldp.py +++ b/network/lldp.py @@ -54,7 +54,7 @@ def gather_lldp(): lldp_entries = output.split("\n") for entry in lldp_entries: - if entry: + if entry.startswith('lldp'): path, value = entry.strip().split("=", 1) path = path.split(".") path_components, final = path[:-1], path[-1]