summaryrefslogtreecommitdiff
path: root/Generate
diff options
context:
space:
mode:
authorPeter Palfrader <peter@palfrader.org>2017-11-13 14:13:13 +0100
committerPeter Palfrader <peter@palfrader.org>2017-11-13 14:13:13 +0100
commit4f3cdefdeac5415e44416ad3a57917ea069c6ffa (patch)
tree688b7484b64e3532c9a163556f226aff8cbc5fcf /Generate
parent3d02f056a376e8487386c728e364438c12dfd2b9 (diff)
Add ping-timer-rem
Diffstat (limited to 'Generate')
-rwxr-xr-xGenerate2
1 files changed, 2 insertions, 0 deletions
diff --git a/Generate b/Generate
index f62c50a..305eb80 100755
--- a/Generate
+++ b/Generate
@@ -672,6 +672,8 @@ hostlist.each{ |host|
throw "have host_port_extra but no host_address(_extra)" if peer['host_port_extra']
conffile.puts "rport #{host['inet_port'][ peer['name'] ]['remote']}"
end
+ else
+ conffile.puts "ping-timer-rem"
end
conffile.puts "lport #{host['inet_port'][ peer['name'] ]['local']}" unless host['accepts'].nil?
if host['accepts'].nil?