diff --git a/src/copy/pvCopy.cpp b/src/copy/pvCopy.cpp index 6458c3a..7694ecf 100644 --- a/src/copy/pvCopy.cpp +++ b/src/copy/pvCopy.cpp @@ -437,10 +437,10 @@ bool PVCopy::init(epics::pvData::PVStructurePtr const &pvRequest) entireMaster = true; } else { - // If masterField is in the request, but not in the master structure, - // then assume entire master is requested - PVStructurePtr masterFieldPtr = pvMaster->getSubField("masterField"); - PVStructurePtr requestFieldPtr = pvRequest->getSubField("masterField"); + // If "_" is in the request, but not in the master structure, + // then assume the top level PV structure is requested + PVStructurePtr masterFieldPtr = pvMaster->getSubField("_"); + PVStructurePtr requestFieldPtr = pvRequest->getSubField("_"); if (!masterFieldPtr && requestFieldPtr) { entireMaster = true; pvOptions = requestFieldPtr->getSubField("_options");