find_dline fixed

This commit is contained in:
Valery Yatsko 2008-04-02 20:54:27 +04:00
parent 8454fac35c
commit 3610cbbbda

View file

@ -509,7 +509,7 @@ accept_precallback(rb_fde_t *F, struct sockaddr *addr, rb_socklen_t addrlen, voi
return 0; return 0;
} }
aconf = find_dline(addr, addr.ss_family); aconf = find_dline(addr, addr->ss_family);
if(aconf != NULL && (aconf->status & CONF_EXEMPTDLINE)) if(aconf != NULL && (aconf->status & CONF_EXEMPTDLINE))
return 1; return 1;