projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[generic]: 3.0 is out
[openwrt.git]
/
package
/
relayd
/
files
/
relay.sh
diff --git
a/package/relayd/files/relay.sh
b/package/relayd/files/relay.sh
index
3e5e84c
..
390900b
100644
(file)
--- a/
package/relayd/files/relay.sh
+++ b/
package/relayd/files/relay.sh
@@
-48,6
+48,10
@@
setup_interface_relay() {
resolve_ifname "$ifn"
done
resolve_ifname "$ifn"
done
+ local ipaddr
+ config_get ipaddr "$cfg" ipaddr
+ [ -n "$ipaddr" ] && append args "-L $ipaddr"
+
local gateway
config_get gateway "$cfg" gateway
[ -n "$gateway" ] && append args "-G $gateway"
local gateway
config_get gateway "$cfg" gateway
[ -n "$gateway" ] && append args "-G $gateway"
This page took
0.024487 seconds
and
4
git commands to generate.