From: Aleš Křenek Date: Wed, 10 Sep 2008 12:21:42 +0000 (+0000) Subject: yet another support for NS queries X-Git-Tag: myproxy-config-R_2_0_2_1~32 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=cc30b1cbaecb5727b957d0a17f04b3da7aec96da;p=jra1mw.git yet another support for NS queries --- diff --git a/org.glite.lb.server/src/query.c b/org.glite.lb.server/src/query.c index 6b59714..c888126 100644 --- a/org.glite.lb.server/src/query.c +++ b/org.glite.lb.server/src/query.c @@ -1505,6 +1505,13 @@ int match_status(edg_wll_Context ctx, const edg_wll_JobStat *stat, const edg_wll if ( conds[i][j].op == EDG_WLL_QUERY_OP_EQUAL ) goto or_satisfied; } else if ( conds[i][j].op == EDG_WLL_QUERY_OP_UNEQUAL ) goto or_satisfied; } + case EDG_WLL_QUERY_ATTR_NETWORK_SERVER: + if ( stat->network_server ) + { + if ( !strcmp(conds[i][j].value.c, stat->network_server) ) { + if ( conds[i][j].op == EDG_WLL_QUERY_OP_EQUAL ) goto or_satisfied; + } else if ( conds[i][j].op == EDG_WLL_QUERY_OP_UNEQUAL ) goto or_satisfied; + } break; case EDG_WLL_QUERY_ATTR_JOBID: if ( !stat->jobId )