X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fportforwarder%2Ftemplates%2Fxinetd.erb;fp=modules%2Fportforwarder%2Ftemplates%2Fxinetd.erb;h=6d4f1eaca33335817c076050799eb196d97a4ba7;hb=765ca03e0a0d81d5f19ff16a4918be7d45b2acfb;hp=4cb2554a8a19fff255311324583a7a2396cf2b8e;hpb=a973a5a968ad30babb42489ebbc4089c6a4c2b2f;p=mirror%2Fdsa-puppet.git diff --git a/modules/portforwarder/templates/xinetd.erb b/modules/portforwarder/templates/xinetd.erb index 4cb2554a8..6d4f1eaca 100644 --- a/modules/portforwarder/templates/xinetd.erb +++ b/modules/portforwarder/templates/xinetd.erb @@ -26,7 +26,7 @@ if config[fqdn] target_host = service['target_host'] local_bind = service['source_bind_port'] - lines << "# from #{sourcehost} on local port #{service['source_bind_port']}" + lines << "# to #{target_port}:target_host from local port #{local_bind}" if target_port.nil? or target_host.nil? or local_bind.nil? lines << "# insufficient config values" else