diff --git a/protocols/dmp/dmp.cpp b/protocols/dmp/dmp.cpp index 59bdcf6..324512d 100644 --- a/protocols/dmp/dmp.cpp +++ b/protocols/dmp/dmp.cpp @@ -190,11 +190,6 @@ void address_list::iStream(PDU::Stream stream) // Property Address addresses.emplace_back(range(type_->data_type, type_->address_length)); *stream >> addresses.back(); - - //set EOF if buffer insufficient for another property range - if (stream->available() < element_size(type_->address_length) * - (type_->data_type == SINGLE? 1 : 3)) - stream->setstate(std::ios_base::eofbit); } }