projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[uboot-kirkwood] Fixed support for Iomega
[openwrt.git]
/
package
/
6in4
/
files
/
6in4.sh
diff --git
a/package/6in4/files/6in4.sh
b/package/6in4/files/6in4.sh
index
62a60dc
..
2af1f74
100755
(executable)
--- a/
package/6in4/files/6in4.sh
+++ b/
package/6in4/files/6in4.sh
@@
-2,7
+2,7
@@
# Copyright (c) 2010 OpenWrt.org
find_6in4_wanif() {
# Copyright (c) 2010 OpenWrt.org
find_6in4_wanif() {
- local if=$(ip -4 r l e 0/0); if="${if#default* dev }"; if="${if%% *}"
+ local if=$(ip -4 r l e 0
.0.0.0
/0); if="${if#default* dev }"; if="${if%% *}"
[ -n "$if" ] && grep -qs "^ *$if:" /proc/net/dev && echo "$if"
}
[ -n "$if" ] && grep -qs "^ *$if:" /proc/net/dev && echo "$if"
}
This page took
0.020039 seconds
and
4
git commands to generate.