mirror of
https://github.com/esiur/esiur-dotnet.git
synced 2025-09-13 12:43:17 +00:00
next
This commit is contained in:
@@ -44,7 +44,7 @@ class IIPPacket : Packet
|
||||
|
||||
public byte Extension { get; set; }
|
||||
|
||||
public TransmissionDataUnit? DataType { get; set; }
|
||||
public ParsedTDU? DataType { get; set; }
|
||||
|
||||
|
||||
private uint dataLengthNeeded;
|
||||
@@ -124,7 +124,7 @@ class IIPPacket : Packet
|
||||
if (NotEnough(offset, ends, 1))
|
||||
return -dataLengthNeeded;
|
||||
|
||||
(var size, DataType) = TransmissionDataUnit.Parse(data, offset, ends);
|
||||
(var size, DataType) = ParsedTDU.Parse(data, offset, ends);
|
||||
|
||||
if (DataType == null)
|
||||
return -(int)size;
|
||||
|
Reference in New Issue
Block a user