summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2021-05-26 21:44:26 +0300
committerGitHub <noreply@github.com>2021-05-26 20:44:26 +0200
commit87ccd1b8242b7b58897c33b30a43a2f42fc43e39 (patch)
treea35ae1c32e9e1fd65693ea9c7cfc2f332f34bae7 /src
parent32bc1e5babd1bd31909a93ca1818998bf46db003 (diff)
downloadvyos-1x-87ccd1b8242b7b58897c33b30a43a2f42fc43e39.tar.gz
vyos-1x-87ccd1b8242b7b58897c33b30a43a2f42fc43e39.zip
ospfv3: T3581: Fix op-mode for linkstate
Diffstat (limited to 'src')
-rwxr-xr-xsrc/op_mode/vtysh_wrapper.sh3
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"