Commit 34309d46 authored by Brickner_cp's avatar Brickner_cp

DNS

parent b2a71f17
......@@ -207,6 +207,9 @@ namespace PcapDotNet.Packets.TestUtils
new IpV6Address(addressSuffixValue),
random.NextDnsDomainName());
case DnsType.Sink:
return new DnsResourceDataSink(random.NextEnum<DnsSinkCoding>(), random.NextByte(), random.NextDataSegment(random.Next(100)));
default:
return new DnsResourceDataAnything(random.NextDataSegment(random.Next(100)));
}
......
......@@ -285,6 +285,7 @@
/// <summary>
/// Eastlake.
/// SINK.
/// Payload type: DnsResourceDataSink.
/// </summary>
Sink = 40,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment