diff options
author | aapostoliuk <a.apostoliuk@vyos.io> | 2024-08-09 18:08:56 +0300 |
---|---|---|
committer | aapostoliuk <a.apostoliuk@vyos.io> | 2025-01-09 18:24:15 +0200 |
commit | 5e8307bf3a7f816193ca9da8cb290d57bbb375f2 (patch) | |
tree | 14c10b6e515bbdf97a85bad741e5e5a0e5f91307 /src/op_mode/vtysh_wrapper.sh | |
parent | 4ca6177f782c336330054c72854e5edbb2fe6322 (diff) | |
download | vyos-1x-5e8307bf3a7f816193ca9da8cb290d57bbb375f2.tar.gz vyos-1x-5e8307bf3a7f816193ca9da8cb290d57bbb375f2.zip |
nhrp: T2326: NHRP migration to FRR
NHRP migration to FRR
Diffstat (limited to 'src/op_mode/vtysh_wrapper.sh')
-rwxr-xr-x | src/op_mode/vtysh_wrapper.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/op_mode/vtysh_wrapper.sh b/src/op_mode/vtysh_wrapper.sh index 25d09ce77..bc472f7bb 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/" | sed -e "s/^reset ip bgp/clear ip bgp/") +tmp=$(echo $@ | sed -e "s/ospfv3/ospf6/" | sed -e "s/^reset bgp/clear bgp/" | sed -e "s/^reset ip bgp/clear ip bgp/"| sed -e "s/^reset ip nhrp/clear ip nhrp/") vtysh -c "$tmp" |