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
shift
elif [[ $command == "list" ]] ; then
command="show"
if [[ "$opt_family" == "ipv6" ]] ; then
address="normal"
fi
dev=$(format_interface_name "$1")
shift
else
echo "Error: unsupported command \"$command\""
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