X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Flib%2Fimplementations%2FANCommandHandler.cpp;h=3da959eb5939f61c2e1189cddac4abbe1d297bfc;hb=f8513317a5f4bb2d9d0843193c3c98eca19f8e8a;hp=f1e3dd5b1c2da7b7ec7fe50bb96e80ebeaf97cdd;hpb=57f45e6c93ae094071e8a2f3f3786d4f26265a1d;p=deb_libcec.git diff --git a/src/lib/implementations/ANCommandHandler.cpp b/src/lib/implementations/ANCommandHandler.cpp index f1e3dd5..3da959e 100644 --- a/src/lib/implementations/ANCommandHandler.cpp +++ b/src/lib/implementations/ANCommandHandler.cpp @@ -75,7 +75,7 @@ bool CANCommandHandler::HandleVendorRemoteButtonDown(const cec_command &command) bool CANCommandHandler::HandleCommand(const cec_command &command) { bool bHandled(false); - if (command.destination == m_busDevice->GetMyLogicalAddress()) + if (m_busDevice->MyLogicalAddressContains(command.destination)) { switch(command.opcode) {