summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-09-25 16:34:52 +0200
committerChristian Poessinger <christian@poessinger.com>2021-09-25 16:37:08 +0200
commit7a5e3fecaf532a526a8ca01f1082fc54691c10f5 (patch)
tree6f645ff7cb757bcc1c871c4b6cac00b8ec355f25
parentb34b8a8fe3bc4a4a706c22af4a7ef4ea8a75e14b (diff)
downloadvyos-1x-7a5e3fecaf532a526a8ca01f1082fc54691c10f5.tar.gz
vyos-1x-7a5e3fecaf532a526a8ca01f1082fc54691c10f5.zip
op-mode: bgp: "show bgp ipv4|ipv6" should display routing table
The <command> node was missed out when adding the XML definitions. (cherry picked from commit 801123eff1bf232ca1e5202ceb0989c2fba34c86)
-rw-r--r--op-mode-definitions/include/bgp/show-bgp-common.xml.i2
1 files changed, 2 insertions, 0 deletions
diff --git a/op-mode-definitions/include/bgp/show-bgp-common.xml.i b/op-mode-definitions/include/bgp/show-bgp-common.xml.i
index 785b85963..4f112905e 100644
--- a/op-mode-definitions/include/bgp/show-bgp-common.xml.i
+++ b/op-mode-definitions/include/bgp/show-bgp-common.xml.i
@@ -21,6 +21,7 @@
#include <include/bgp/afi-common.xml.i>
#include <include/bgp/afi-ipv4-ipv6-common.xml.i>
</children>
+ <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command>
</node>
<tagNode name="ipv6">
<properties>
@@ -42,5 +43,6 @@
#include <include/bgp/afi-common.xml.i>
#include <include/bgp/afi-ipv4-ipv6-common.xml.i>
</children>
+ <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command>
</node>
<!-- included end -->