mirror of
https://github.com/openwrt/packages.git
synced 2026-04-15 19:02:09 +00:00
net/iodine: make address config optional
In the absense of an address entry bind to all interfaces which is also iodined's default when -l isn't given. Signed-off-by: Uwe Kleine-König <uwe+openwrt@kleine-koenig.org>
This commit is contained in:
@@ -11,6 +11,7 @@ start_instance () {
|
||||
config_get tld "$section" 'tld'
|
||||
config_get port "$section" 'port'
|
||||
|
||||
test -n "$address" || address='0.0.0.0'
|
||||
test -n "$port" || port='53'
|
||||
|
||||
service_start /usr/sbin/iodined -l "$address" -P "$password" -p "$port" "$tunnelip" "$tld"
|
||||
|
||||
Reference in New Issue
Block a user