Skip to content

Commit c56a9f2

Browse files
authored
Merge pull request #1326 from kernelkit/allow-llpd-disabled
yanger: Allow lldpd to be disabled (or crashed)
2 parents 45ff5d2 + 0a9664e commit c56a9f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/statd/python/yanger/infix_lldp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def operational():
3434

3535
port_data = defaultdict(lambda: {"remote-systems-data": [], "dest-mac-address": LLDP_MULTICAST_MAC})
3636

37-
data = HOST.run_json(["lldpcli", "show", "neighbors", "-f", "json"])
37+
data = HOST.run_json(["lldpcli", "show", "neighbors", "-f", "json"], {})
3838

3939
interfaces = data.get("lldp", {}).get("interface", [])
4040

0 commit comments

Comments
 (0)