[LEDE-DEV] [PATCH] dnsmasq: fix error in call of list_contains()
e9hack
e9hack at gmail.com
Tue Jun 13 06:53:57 PDT 2017
Hi,
it seems there is a second bug.
[ -n $notinterfaces ] fails, if notinterfaces contains spaces.
Regards,
Hartmut
Am 12.06.2017 um 23:11 schrieb Paul Oranje:
> --- a/package/network/services/dnsmasq/files/dnsmasq.init
> +++ b/package/network/services/dnsmasq/files/dnsmasq.init
> @@ -716,7 +716,7 @@ dnsmasq_ismain()
> [ $port = "53" ] || return 1
>
> config_get notinterfaces "$cfg" notinterface ""
> - [ -n $notinterfaces ] && list_contains $notinterfaces "loopback" || return 1
> + [ -n $notinterfaces ] && list_contains notinterfaces "loopback" || return 1
>
> # dnsmasq instance is designated to listen on 127.0.0.1#53.
> return 0
>
More information about the Lede-dev
mailing list