From: Rucke Teg Date: Thu, 2 Feb 2023 19:59:07 +0000 (+0100) Subject: bind: Fix ipv6 detection logic X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=93b75d0058a0f6a26c15b49d1047837bd5610828;p=openwrt-packages.git bind: Fix ipv6 detection logic Bug was introduced in a7b770eec4370087a5ccd27887386dac9266214e and results in bind always stating with the `-4` flag. Signed-off-by: Rucke Teg --- diff --git a/net/bind/files/named.init b/net/bind/files/named.init index 312e297fb..288d8f885 100644 --- a/net/bind/files/named.init +++ b/net/bind/files/named.init @@ -73,7 +73,7 @@ start_service() { touch $conf_local_file local args= - [ no_ipv6 ] && args="-4" + no_ipv6 && args="-4" procd_open_instance procd_set_param command /usr/sbin/named -u bind -f $args -c $config_file