ITS#5548 use syncrepl Connection when evaluating filter and acl.

This commit is contained in:
Rein Tollevik 2008-06-13 15:55:01 +00:00
parent 2688180f95
commit 06379f9cf9

View File

@ -1181,6 +1181,7 @@ syncprov_matchops( Operation *op, opcookie *opc, int saveit )
sprev = ss, ss=snext)
{
Operation op2;
Opheader oh;
syncmatches *sm;
int found = 0;
@ -1230,7 +1231,10 @@ syncprov_matchops( Operation *op, opcookie *opc, int saveit )
if ( fc.fscope ) {
op2 = *ss->s_op;
op2.o_hdr = op->o_hdr;
oh = *op->o_hdr;
oh.oh_conn = ss->s_op->o_conn;
oh.oh_connid = ss->s_op->o_connid;
op2.o_hdr = &oh;
op2.o_extra = op->o_extra;
}