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:
parent
4e09eeb4ae
commit
a66f9e8854
1 changed files with 1 additions and 0 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue