Toggle navigation
Toggle navigation
This project
Loading...
Sign in
UT
/
ipw
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
1
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
redmine
2015-05-21 17:06:14 +0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
ede26b2de8bbc00eb6f5af7172129e66bc0ec0cd
ede26b2d
1 parent
6810559d
Fixed an error with ignoring IP_CMDs
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
ipw
ipw
View file @
ede26b2
...
...
@@ -159,7 +159,7 @@ ip_cmds() {
[[
"
$IPW_FAST
"
-ne 0
]]
&&
# Don't do anything if the interface should be "empty" and it's already is
[[
"
${
!IP_CMDS_VARIABLE
}
"
=
''
]]
&&
[[
"
${
IFACE_DETAILS
[
${
_IFACE
}
-primary-ipv4address]
}
"
!
=
''
]]
[[
"
${
IFACE_DETAILS
[
${
_IFACE
}
-primary-ipv4address]
}
"
!
=
''
]]
&&
return
ip addr flush dev
"
$_IFACE
"
...
...
Please
register
or
login
to post a comment