Home
last modified time | relevance | path

Searched refs:domainlen (Results 1 – 1 of 1) sorted by relevance

/external/dnsmasq/src/
Dforward.c138 unsigned int domainlen = strlen(serv->domain); in search_servers() local
139 char* matchstart = qdomain + namelen - domainlen; in search_servers()
140 if (namelen >= domainlen && hostname_isequal(matchstart, serv->domain) && in search_servers()
141 domainlen >= matchlen && in search_servers()
142 (domainlen == 0 || namelen == domainlen || *(serv->domain) == '.' || in search_servers()
147 matchlen = domainlen; in search_servers()