relayd: map "ipaddr" option to local ip (-L)
SVN-Revision: 26773
This commit is contained in:
parent
8b7a516fa8
commit
cb0c1f9015
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user