Reload the lists, which will cause the cached privacy level to be updated.

Signed-off-by: Frank Riley <fhriley@gmail.com>
pull/3414/head
Frank Riley 4 years ago
parent b421e422c2
commit 9d04c517e6

@ -600,6 +600,7 @@ SetPrivacyLevel() {
# Set privacy level. Minimum is 0, maximum is 4
if [ "${args[2]}" -ge 0 ] && [ "${args[2]}" -le 4 ]; then
changeFTLsetting "PRIVACYLEVEL" "${args[2]}"
pihole restartdns reload-lists
fi
}

Loading…
Cancel
Save