summaryrefslogtreecommitdiff
path: root/op-mode-definitions/lldp.xml
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-08-03 17:08:47 +0200
committerChristian Poessinger <christian@poessinger.com>2020-08-03 17:08:47 +0200
commitee45fcf5f5342d40b5dcd39429a4201c93a49b4c (patch)
tree4c8ed5228c087f4bdfeacf2aa5d954a63e544e36 /op-mode-definitions/lldp.xml
parent3e657ba2acf68c9adc1426cc1fcfeefb848cc8d2 (diff)
downloadvyos-1x-ee45fcf5f5342d40b5dcd39429a4201c93a49b4c.tar.gz
vyos-1x-ee45fcf5f5342d40b5dcd39429a4201c93a49b4c.zip
lldp: op-mode: T2323: "show lldp neighbors detail" only works when service runs
The problem exists when LLDP is not configured but one wants to run the detail command. Running "show lldp neighbors" is not possible when LLDP is not running. This case is already handled for "show lldp neighbors" and has been extended for "show lldp neighbors detail".
Diffstat (limited to 'op-mode-definitions/lldp.xml')
-rw-r--r--op-mode-definitions/lldp.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/op-mode-definitions/lldp.xml b/op-mode-definitions/lldp.xml
index 105bfe237..e954fb8cf 100644
--- a/op-mode-definitions/lldp.xml
+++ b/op-mode-definitions/lldp.xml
@@ -17,7 +17,7 @@
<properties>
<help>Show LLDP neighbor details</help>
</properties>
- <command>/usr/sbin/lldpctl -f plain</command>
+ <command>${vyos_op_scripts_dir}/lldp_op.py --detail</command>
</node>
<tagNode name="interface">
<properties>