aboutsummaryrefslogtreecommitdiffstats
path: root/modules/xinetd
diff options
context:
space:
mode:
Diffstat (limited to 'modules/xinetd')
-rw-r--r--modules/xinetd/templates/port_forward2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/xinetd/templates/port_forward b/modules/xinetd/templates/port_forward
index 3fe7903b..16ba9a1c 100644
--- a/modules/xinetd/templates/port_forward
+++ b/modules/xinetd/templates/port_forward
@@ -2,7 +2,7 @@ service <%= name %>
{
disable = no
type = UNLISTED
-<%- if protocol == 'tcp' -%>
+<%- if proto == 'tcp' -%>
socket_type = stream
<%- else -%>
socket_type = dgram