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:
parent
b3ac0fe661
commit
93b75d0058
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue