diff --git a/src/listener.c b/src/listener.c index 449532ee..d88c6721 100644 --- a/src/listener.c +++ b/src/listener.c @@ -509,7 +509,7 @@ accept_precallback(rb_fde_t *F, struct sockaddr *addr, rb_socklen_t addrlen, voi return 0; } - aconf = find_dline(addr, addr.ss_family); + aconf = find_dline(addr, addr->ss_family); if(aconf != NULL && (aconf->status & CONF_EXEMPTDLINE)) return 1;