244 |
|
|
245 |
} else { |
} else { |
246 |
|
|
247 |
HostsAllow h= NEW(h); |
HostsAllow h; |
248 |
|
|
249 |
|
NEW(h); |
250 |
|
|
251 |
while(*hp->h_addr_list) { |
while(*hp->h_addr_list) { |
252 |
|
|
460 |
*/ |
*/ |
461 |
static RequestWrapper create_wrapper(struct in_addr iaddr, int client) { |
static RequestWrapper create_wrapper(struct in_addr iaddr, int client) { |
462 |
|
|
463 |
RequestWrapper w= NEW(w); |
InetAddress i; |
464 |
InetAddress i= NEW(i); |
RequestWrapper w; |
465 |
|
|
466 |
i->remote_host= xstrdup( inet_ntoa(iaddr) ); |
NEW(i); |
467 |
i->local_host= get_localhostname(); |
NEW(w); |
468 |
w->inetaddr= i; |
w->inetaddr= i; |
|
w->socket= client; |
|
469 |
w->status= TRUE; |
w->status= TRUE; |
470 |
|
w->socket= client; |
471 |
|
i->local_host= get_localhostname(); |
472 |
|
i->remote_host= xstrdup( inet_ntoa(iaddr) ); |
473 |
|
|
474 |
return (w); |
return (w); |
475 |
|
|