mirror of
https://github.com/opnsense/src.git
synced 2026-04-15 14:29:58 -04:00
o Re-arrange parentheses and fix a conition logic for !do_dns case.
PR: bin/98625 MFC after: 1 month
This commit is contained in:
parent
f60de18e42
commit
8ef09875f0
1 changed files with 2 additions and 2 deletions
|
|
@ -164,9 +164,9 @@ ypproc_match_2_svc(ypreq_key *argp, struct svc_req *rqstp)
|
|||
*/
|
||||
|
||||
#ifdef DB_CACHE
|
||||
if (result.stat != YP_TRUE &&
|
||||
if (do_dns && result.stat != YP_TRUE &&
|
||||
(yp_testflag(argp->map, argp->domain, YP_INTERDOMAIN) ||
|
||||
((strstr(argp->map, "hosts") || strstr(argp->map, "ipnodes")) && do_dns))) {
|
||||
(strstr(argp->map, "hosts") || strstr(argp->map, "ipnodes")))) {
|
||||
#else
|
||||
if (do_dns && result.stat != YP_TRUE &&
|
||||
(strstr(argp->map, "hosts") || strstr(argp->map, "ipnodes"))) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue