summaryrefslogtreecommitdiff
path: root/src/op_mode/vtysh_wrapper.sh
blob: 09980e14f3b7017f0480c43a225d32d52f27dff2 (plain)
1
2
3
4
5
#!/bin/sh
declare -a tmp
# FRR uses ospf6 where we use ospfv3, thus alter the command
tmp=$(echo $@ | sed -e "s/ospfv3/ospf6/")
vtysh -c "$tmp"