TDWR/SPG product support

This commit is contained in:
Dan Paulat 2022-01-13 19:03:04 -06:00
parent 97ab1de94c
commit 9117b32a29
3 changed files with 8 additions and 3 deletions

View file

@ -144,7 +144,7 @@ bool Level3MessageHeader::Parse(std::istream& is)
<< logPrefix_ << "Invalid length: " << p->lengthOfMessage_;
headerValid = false;
}
if (p->sourceId_ > 999u)
if ((p->sourceId_ > 999u && p->sourceId_ < 3000) || p->sourceId_ > 3045)
{
BOOST_LOG_TRIVIAL(warning)
<< logPrefix_ << "Invalid source ID: " << p->sourceId_;