projects
/
mirror
/
dsa-puppet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
55a3c12
)
No bind address also listens on v6
author
Peter Palfrader
<peter@palfrader.org>
Mon, 24 Jun 2013 19:29:27 +0000
(21:29 +0200)
committer
Peter Palfrader
<peter@palfrader.org>
Mon, 24 Jun 2013 19:29:27 +0000
(21:29 +0200)
modules/xinetd/templates/service.erb
patch
|
blob
|
history
diff --git
a/modules/xinetd/templates/service.erb
b/modules/xinetd/templates/service.erb
index
a0cc45a
..
d460f82
100644
(file)
--- 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') %>