diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-11-15 10:36:15 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-11-15 10:36:15 +0100 |
commit | 9152e5b3665a844bfdf05a88be069b631679acab (patch) | |
tree | 5c7a6caa321fda5929c9f3d93f23073c6e9d79d0 /op-mode-definitions | |
parent | 9f49458a70f077fff8ac98836ed4e091f65fa221 (diff) | |
download | vyos-1x-9152e5b3665a844bfdf05a88be069b631679acab.tar.gz vyos-1x-9152e5b3665a844bfdf05a88be069b631679acab.zip |
op-mode: fix "show arp interface" argument level
Commit 84ce69a4 ('op-mode: add "show arp" command') copied the syntax from
"show protocols static arp" to "show arp" but the CLI variable reference index
was not decreases from 6 to 4 as the CLI level changed for the new command.
Diffstat (limited to 'op-mode-definitions')
-rw-r--r-- | op-mode-definitions/show-protocols-static.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/op-mode-definitions/show-protocols-static.xml b/op-mode-definitions/show-protocols-static.xml index 2693c4248..aaf875072 100644 --- a/op-mode-definitions/show-protocols-static.xml +++ b/op-mode-definitions/show-protocols-static.xml @@ -15,7 +15,7 @@ <script>${vyos_completion_dir}/list_interfaces.py -b</script> </completionHelp> </properties> - <command>/usr/sbin/arp -e -n -i "$6"</command> + <command>/usr/sbin/arp -e -n -i "$4"</command> </tagNode> </children> </node> |