summaryrefslogtreecommitdiff
path: root/op-mode-definitions/show-log.xml.in
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-01-22 22:07:34 +0100
committerChristian Breunig <christian@breunig.cc>2023-01-22 22:46:32 +0100
commit608786f85ee839548cae59cafeedff3ec6b3ae9c (patch)
tree736c8daf6ff7b98f4732232545e2e596492a2026 /op-mode-definitions/show-log.xml.in
parent38bab79324087df5a9057c23b85a0a784c09540a (diff)
downloadvyos-1x-608786f85ee839548cae59cafeedff3ec6b3ae9c.tar.gz
vyos-1x-608786f85ee839548cae59cafeedff3ec6b3ae9c.zip
op-mode: macsec: T4537: use <path> completion helper over <script>
The script completion helper will only show MACsec interfaces already created and beeing active in the Kernel. The path completion helper shows the real CLI deal.
Diffstat (limited to 'op-mode-definitions/show-log.xml.in')
-rw-r--r--op-mode-definitions/show-log.xml.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/op-mode-definitions/show-log.xml.in b/op-mode-definitions/show-log.xml.in
index 979ae7ce2..8ba80caf6 100644
--- a/op-mode-definitions/show-log.xml.in
+++ b/op-mode-definitions/show-log.xml.in
@@ -236,7 +236,7 @@
<properties>
<help>Show MACsec log on specific interface</help>
<completionHelp>
- <script>${vyos_completion_dir}/list_interfaces.py -t macsec</script>
+ <path>interfaces macsec</path>
</completionHelp>
</properties>
<command>SRC=$(cli-shell-api returnValue interfaces macsec "$5" source-interface); journalctl --no-hostname --boot --unit "wpa_supplicant-macsec@$SRC.service"</command>