Compare commits

...

2 Commits

Author SHA1 Message Date
CanbiZ
3a9eb3a67c
Merge pull request #1175 from pshankinclarke/fix-verb_ip6
Fix `verb_ip6` crash when `IPV6_METHOD` is unset
2025-12-03 08:24:22 +01:00
pshankinclarke
2a0ce9aaeb fix unbound IPV6_METHOD crash with 2025-12-02 21:40:50 -08:00

View File

@ -52,7 +52,7 @@ catch_errors
verb_ip6() {
set_std_mode # Set STD mode based on VERBOSE
if [ "$IPV6_METHOD" == "disable" ]; then
if [ "${IPV6_METHOD:-}" = "disable" ]; then
msg_info "Disabling IPv6 (this may affect some services)"
mkdir -p /etc/sysctl.d
$STD tee /etc/sysctl.d/99-disable-ipv6.conf >/dev/null <<EOF