Searched refs:addrstr (Results 1 – 2 of 2) sorted by relevance
| /lighttpd1.4/src/ |
| H A D | mod_authn_pam.c | 153 const char * const addrstr = r->dst_addr_buf->ptr; in mod_authn_pam_query() local 156 || PAM_SUCCESS !=(rc = pam_set_item(pamh, PAM_RHOST, addrstr)) in mod_authn_pam_query()
|
| H A D | mod_extforward.c | 505 char addrstr[64]; /*(larger than INET_ADDRSTRLEN and INET6_ADDRSTRLEN)*/ in is_proxy_trusted() local 506 if (0 == iplen || iplen >= sizeof(addrstr)) return 0; in is_proxy_trusted() 507 memcpy(addrstr, ip, iplen); in is_proxy_trusted() 508 addrstr[iplen] = '\0'; in is_proxy_trusted() 510 if (1 != sock_addr_inet_pton(&addr, addrstr, AF_INET, 0) in is_proxy_trusted() 511 && 1 != sock_addr_inet_pton(&addr, addrstr, AF_INET6, 0)) return 0; in is_proxy_trusted()
|