diff options
author | Viacheslav Hletenko <v.gletenko@vyos.io> | 2021-05-26 21:44:26 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-26 20:44:26 +0200 |
commit | 87ccd1b8242b7b58897c33b30a43a2f42fc43e39 (patch) | |
tree | a35ae1c32e9e1fd65693ea9c7cfc2f332f34bae7 /src/op_mode/vtysh_wrapper.sh | |
parent | 32bc1e5babd1bd31909a93ca1818998bf46db003 (diff) | |
download | vyos-1x-87ccd1b8242b7b58897c33b30a43a2f42fc43e39.tar.gz vyos-1x-87ccd1b8242b7b58897c33b30a43a2f42fc43e39.zip |
ospfv3: T3581: Fix op-mode for linkstate
Diffstat (limited to 'src/op_mode/vtysh_wrapper.sh')
-rwxr-xr-x | src/op_mode/vtysh_wrapper.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/op_mode/vtysh_wrapper.sh b/src/op_mode/vtysh_wrapper.sh index 47d88330b..09980e14f 100755 --- a/src/op_mode/vtysh_wrapper.sh +++ b/src/op_mode/vtysh_wrapper.sh @@ -1,4 +1,5 @@ #!/bin/sh declare -a tmp -tmp=$@ +# FRR uses ospf6 where we use ospfv3, thus alter the command +tmp=$(echo $@ | sed -e "s/ospfv3/ospf6/") vtysh -c "$tmp" |