From 2c7da66570999dcd21f11f976dc6ec27d820f45c Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Fri, 4 Oct 2024 19:28:06 -0700 Subject: Use @ when accessing variables in templates Access without the @ symbol is the older method and is discouraged. --- modules/xinetd/templates/port_forward | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'modules/xinetd') diff --git a/modules/xinetd/templates/port_forward b/modules/xinetd/templates/port_forward index 1b76b0e1..7138dba2 100644 --- a/modules/xinetd/templates/port_forward +++ b/modules/xinetd/templates/port_forward @@ -1,4 +1,4 @@ -service <%= name %> +service <%= @name %> { disable = no type = UNLISTED @@ -7,9 +7,9 @@ service <%= name %> <%- else -%> socket_type = dgram <%- end -%> - protocol = <%= proto %> + protocol = <%= @proto %> user = nobody wait = no - redirect = <%= target_ip %> <%= target_port %> - port = <%= port %> + redirect = <%= @target_ip %> <%= @target_port %> + port = <%= @port %> } -- cgit v1.2.1