summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-07-05 12:21:17 +0200
committerChristian Poessinger <christian@poessinger.com>2022-07-05 12:21:45 +0200
commit1520deeddfb6928e0b7053a6f526909407868dfd (patch)
treea789cc0960bec8a3d8174805cbc68213cc199b24 /src
parentda961052291515f2e31bb4eca4d9091fad8c4d3c (diff)
downloadvyos-1x-1520deeddfb6928e0b7053a6f526909407868dfd.tar.gz
vyos-1x-1520deeddfb6928e0b7053a6f526909407868dfd.zip
op-mode: bgp: T4494: re-use available building blocks for BGP resets
Diffstat (limited to 'src')
-rwxr-xr-xsrc/op_mode/vtysh_wrapper.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/op_mode/vtysh_wrapper.sh b/src/op_mode/vtysh_wrapper.sh
index bc7814a7c..25d09ce77 100755
--- a/src/op_mode/vtysh_wrapper.sh
+++ b/src/op_mode/vtysh_wrapper.sh
@@ -2,5 +2,5 @@
declare -a tmp
# FRR uses ospf6 where we use ospfv3, and we use reset over clear for BGP,
# thus alter the commands
-tmp=$(echo $@ | sed -e "s/ospfv3/ospf6/" | sed -e "s/^reset bgp/clear bgp/")
+tmp=$(echo $@ | sed -e "s/ospfv3/ospf6/" | sed -e "s/^reset bgp/clear bgp/" | sed -e "s/^reset ip bgp/clear ip bgp/")
vtysh -c "$tmp"