Commit 306d0252 authored by Brickner_cp's avatar Brickner_cp

DNS

parent e3dbedb2
......@@ -208,6 +208,7 @@ namespace PcapDotNet.Packets.TestUtils
case DnsType.EId:
case DnsType.NimLoc:
case DnsType.Dhcid:
return new DnsResourceDataAnything(random.NextDataSegment(random.Next(32)));
case DnsType.Srv:
......
......@@ -5,6 +5,7 @@ namespace PcapDotNet.Packets.Dns
[DnsTypeRegistration(Type = DnsType.Null)]
[DnsTypeRegistration(Type = DnsType.EId)]
[DnsTypeRegistration(Type = DnsType.NimLoc)]
[DnsTypeRegistration(Type = DnsType.Dhcid)]
public sealed class DnsResourceDataAnything : DnsResourceDataSimple, IEquatable<DnsResourceDataAnything>
{
public DnsResourceDataAnything()
......
......@@ -350,6 +350,8 @@
/// <summary>
/// RFC 4701.
/// DHCID.
/// Dynamic Host Configuration Information.
/// Payload type: DnsResourceDataAnything.
/// </summary>
Dhcid = 49,
......
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