Disable IPv6 for all squid instances
authorTom Hughes <tom@compton.nu>
Sat, 12 Oct 2019 10:46:15 +0000 (11:46 +0100)
committerTom Hughes <tom@compton.nu>
Sat, 12 Oct 2019 10:46:15 +0000 (11:46 +0100)
cookbooks/squid/recipes/default.rb

index 53e54b4..c2bd5b8 100644 (file)
@@ -87,7 +87,7 @@ end
 
 address_families = %w[AF_UNIX AF_INET]
 
-address_families << "AF_INET6" unless node.interfaces(:family => :inet6).empty?
+address_families << "AF_INET6" unless node.interfaces(:family => :inet6).empty?
 
 systemd_service "squid" do
   description "Squid caching proxy"