From: Jo-Philipp Wich Date: Wed, 27 Apr 2011 19:17:13 +0000 (+0000) Subject: merge r26773 X-Git-Tag: backfire_10.03.1~264 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=b1212fb93b7f868c84d715f101386217cd3ce363;p=openwrt%2Fsvn-archive%2Fopenwrt.git merge r26773 SVN-Revision: 26774 --- diff --git a/package/relayd/files/relay.sh b/package/relayd/files/relay.sh index 3e5e84c870..390900ba3b 100644 --- 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"