From: Peter Palfrader Date: Mon, 24 Jun 2013 19:29:27 +0000 (+0200) Subject: No bind address also listens on v6 X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=5d0d9fe522742878293dc126f611f1efdc1d03ac;p=mirror%2Fdsa-puppet.git No bind address also listens on v6 --- diff --git a/modules/xinetd/templates/service.erb b/modules/xinetd/templates/service.erb index a0cc45a51..d460f8235 100644 --- a/modules/xinetd/templates/service.erb +++ b/modules/xinetd/templates/service.erb @@ -12,7 +12,7 @@ service <%= scope.lookupvar('port') %> protocol = <%= scope.lookupvar('protocol') %> <%- if scope.lookupvar('flags') != '' -%> flags = <%= scope.lookupvar('flags') %> -<%- elsif scope.lookupvar('bind') =~ /:/ -%> +<%- elsif scope.lookupvar('bind') =~ /:/ or scope.lookupvar('bind') == "" -%> flags = IPv6 <%- end -%> wait = <%= scope.lookupvar('wait') %>