diff options
Diffstat (limited to 'src/conns.c')
-rw-r--r-- | src/conns.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/conns.c b/src/conns.c index 921cdf6..feac522 100644 --- a/src/conns.c +++ b/src/conns.c @@ -40,7 +40,7 @@ void conn_struct_init(struct conn_s *connptr) { int conn_init_contents (struct conn_s *connptr, const char *ipaddr, const char *sock_ipaddr, - const char *sock_ipaddr_mapped) + const char *sock_ipaddr_alt) { struct buffer_s *cbuffer, *sbuffer; @@ -60,8 +60,8 @@ int conn_init_contents (struct conn_s *connptr, const char *ipaddr, connptr->server_ip_addr = (sock_ipaddr ? safestrdup (sock_ipaddr) : NULL); - connptr->server_ip_addr_mapped = (sock_ipaddr_mapped ? - safestrdup (sock_ipaddr_mapped) : NULL); + connptr->server_ip_addr_alt = (sock_ipaddr_alt ? + safestrdup (sock_ipaddr_alt) : NULL); connptr->client_ip_addr = safestrdup (ipaddr); update_stats (STAT_OPEN); |