# relay definition
define relay( $port = 0,
$listen_addresses = [],
- $relay_bandwidth_rate = 0, # KB/s, 0 for no limit.
- $relay_bandwidth_burst = 0, # KB/s, 0 for no limit.
+ $bandwidth_rate = 0, # KB/s, 0 for no limit.
+ $bandwidth_burst = 0, # KB/s, 0 for no limit.
$accounting_max = 0, # GB, 0 for no limit.
$accounting_start = [],
$contact_info = '',
<%- if address != '' then -%>
Address <%= address %>
<%- end -%>
-<%- if relay_bandwidth_rate != '0' then -%>
-RelayBandwidthRate <%= relay_bandwidth_rate %> KB
+<%- if bandwidth_rate != '0' then -%>
+RelayBandwidthRate <%= bandwidth_rate %> KB
<%- end -%>
-<%- if relay_bandwidth_burst != '0' then -%>
-RelayBandwidthBurst <%= relay_bandwidth_burst %> KB
+<%- if bandwidth_burst != '0' then -%>
+RelayBandwidthBurst <%= bandwidth_burst %> KB
<%- end -%>
<%- if accounting_max != '0' then -%>
AccountingMax <%= accounting_max %> GB