Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.package
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Douglas
slapos.package
Commits
ed92f8eb
Commit
ed92f8eb
authored
Apr 19, 2013
by
Jondy Zhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix ip list sub command
parent
199fa0b1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
windows/scripts/ip
windows/scripts/ip
+2
-3
No files found.
windows/scripts/ip
View file @
ed92f8eb
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment