1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-24 00:07:11 +02:00

[backfire] merge r26773

git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@26774 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
jow 2011-04-27 19:17:13 +00:00
parent 05b936b456
commit de913f66f3

View File

@ -48,6 +48,10 @@ setup_interface_relay() {
resolve_ifname "$ifn" resolve_ifname "$ifn"
done done
local ipaddr
config_get ipaddr "$cfg" ipaddr
[ -n "$ipaddr" ] && append args "-L $ipaddr"
local gateway local gateway
config_get gateway "$cfg" gateway config_get gateway "$cfg" gateway
[ -n "$gateway" ] && append args "-G $gateway" [ -n "$gateway" ] && append args "-G $gateway"