1
0
mirror of https://git.openwrt.org/feed/packages.git synced 2024-06-20 23:58:38 +02:00

bind: Fix ipv6 detection logic

Bug was introduced in a7b770eec4 and
results in bind always stating with the `-4` flag.

Signed-off-by: Rucke Teg <rucketeg@protonmail.com>
This commit is contained in:
Rucke Teg 2023-02-02 20:59:07 +01:00 committed by Noah Meyerhans
parent b3ac0fe661
commit 93b75d0058

View File

@ -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