Commit 5ddfea4e authored by Jondy Zhao's avatar Jondy Zhao

Remove mode parameter in the ip vpntap command

parent 723dd8f6
......@@ -782,13 +782,8 @@ elif [[ $object == "vpntap" ]] ; then
install_tap_driver "$dev"
exit $?
elif [[ "$command" == "del" ]] ; then
if [[ "$mode" == "" ]] ; then
echo $orig_cmd
exit 0
else
uninstall_tap_driver "$dev"
exit $?
fi
else
echo $orig_cmd
echo "Error: unsupported command \"$command\" for tuntap"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment