projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
gre: Change hostdependcy to remote endpoint tunnel address
[openwrt.git]
/
package
/
network
/
config
/
gre
/
files
/
gre.sh
diff --git
a/package/network/config/gre/files/gre.sh
b/package/network/config/gre/files/gre.sh
index
38c0fc4
..
1728b01
100755
(executable)
--- a/
package/network/config/gre/files/gre.sh
+++ b/
package/network/config/gre/files/gre.sh
@@
-51,7
+51,7
@@
gre_setup() {
exit
}
exit
}
- ( proto_add_host_dependency "$cfg" "
0.0.0.0
" "$tunlink" )
+ ( proto_add_host_dependency "$cfg" "
$peeraddr
" "$tunlink" )
[ -z "$ipaddr" ] && {
local wanif="$tunlink"
[ -z "$ipaddr" ] && {
local wanif="$tunlink"
@@
-108,7
+108,7
@@
grev6_setup() {
exit
}
exit
}
- ( proto_add_host_dependency "$cfg" "
::
" "$tunlink" )
+ ( proto_add_host_dependency "$cfg" "
$peer6addr
" "$tunlink" )
[ -z "$ip6addr" ] && {
local wanif="$tunlink"
[ -z "$ip6addr" ] && {
local wanif="$tunlink"