Skip to content

Commit

Permalink
fix(UnknownEdnsOption): show type and data
Browse files Browse the repository at this point in the history
  • Loading branch information
richardschneider committed Jul 22, 2019
1 parent bbeba2d commit ca0bd42
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/UnknownEdnsOption.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,11 @@ public override void WriteData(WireWriter writer)
writer.WriteBytes(Data);
}

/// <inheritdoc />
public override string ToString()
{
return $"; Type = {Type}; Data = {Convert.ToBase64String(Data)}";
}

}
}

0 comments on commit ca0bd42

Please sign in to comment.