Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions proto/frontend/src/device_mgr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1970,8 +1970,15 @@ class DeviceMgrImp {
case PreEntry::kCloneSessionEntry:
return pre_clone_read(
pre_entry.clone_session_entry(), session, response);
default:
break;
case PreEntry::TYPE_NOT_SET: {
// If neither kCloneSessionEntry nor kMulticastGroupEntry is set,
// assume a wildcard read.
RETURN_IF_ERROR(
pre_mc_read(pre_entry.multicast_group_entry(), response));
RETURN_IF_ERROR(
pre_clone_read(pre_entry.clone_session_entry(), session, response));
RETURN_OK_STATUS();
}
}
RETURN_ERROR_STATUS(Code::INVALID_ARGUMENT, "Invalid PRE operation");
}
Expand Down