skip unknown address

This commit is contained in:
orignal 2022-03-14 15:54:55 -04:00
parent 908bdc7624
commit b3c2e86436

View File

@ -234,6 +234,12 @@ namespace data
uint16_t size, r = 0;
s.read ((char *)&size, sizeof (size)); if (!s) return;
size = be16toh (size);
if (address->transportStyle == eTransportUnknown)
{
// skip unknown address
s.seekg (size, std::ios_base::cur);
if (s) continue; else return;
}
while (r < size)
{
char key[255], value[255];