Commit ed92f8eb authored by Jondy Zhao's avatar Jondy Zhao

Fix ip list sub command

parent 199fa0b1
...@@ -545,9 +545,8 @@ elif [[ $object == "addr" ]] ; then ...@@ -545,9 +545,8 @@ elif [[ $object == "addr" ]] ; then
shift shift
elif [[ $command == "list" ]] ; then elif [[ $command == "list" ]] ; then
command="show" command="show"
if [[ "$opt_family" == "ipv6" ]] ; then dev=$(format_interface_name "$1")
address="normal" shift
fi
else else
echo "Error: unsupported command \"$command\"" echo "Error: unsupported command \"$command\""
exit 1 exit 1
......
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