projects
/
openwrt
/
svn-archive
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cbd4b38
)
merge r26773
author
Jo-Philipp Wich
<jow@openwrt.org>
Wed, 27 Apr 2011 19:17:13 +0000
(19:17 +0000)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Wed, 27 Apr 2011 19:17:13 +0000
(19:17 +0000)
SVN-Revision: 26774
package/relayd/files/relay.sh
patch
|
blob
|
history
diff --git
a/package/relayd/files/relay.sh
b/package/relayd/files/relay.sh
index 3e5e84c870a635caab36bf271ed1e3d00f32c9e1..390900ba3badc1d2d00990a54e0f5984b4221f90 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
+ 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"