ipv4 = {
# use the hostname rather than the IP address from LDAP,
# as /etc/hosts might have a better answer in case of natted hosts.
- addr = <%= @fqdn %>
+ addr = <%= @client %>
port = <%= @port_fd %>
}
<%- end -%>
<%- if @has_ipv6 -%>
ipv6 = {
- addr = <%= addr %>
+ addr = <%= @client %>
port = <%= @port_fd %>
}
<%- end -%>