Index: pkg/mdns/lib/src/packet.dart |
diff --git a/pkg/mdns/lib/src/packet.dart b/pkg/mdns/lib/src/packet.dart |
index 548e8c7d0f2287452d510c05dc92635316f84eef..123517d890f73d7a7cf434feefe6cb3cfeb77319 100644 |
--- a/pkg/mdns/lib/src/packet.dart |
+++ b/pkg/mdns/lib/src/packet.dart |
@@ -69,7 +69,7 @@ class FQDNReadResult { |
/// |
/// If decoding fails (e.g. due to an invalid packet) `null` is returned. |
/// |
-/// See See https://tools.ietf.org/html/rfc1035 for the format. |
+/// See https://tools.ietf.org/html/rfc1035 for the format. |
List<DecodeResult> decodeMDnsResponse(List<int> packet) { |
int length = packet.length; |
if (length < headerSize) return null; |
@@ -100,7 +100,7 @@ List<DecodeResult> decodeMDnsResponse(List<int> packet) { |
// Read a FQDN at the given offset. Returns a pair with the FQDN |
// parts and the number of bytes consumed. |
// |
- // If decoding fails (e.g. die to an invalid packet) `null` is returned. |
+ // If decoding fails (e.g. due to an invalid packet) `null` is returned. |
FQDNReadResult readFQDN(int offset) { |
List<String> parts = []; |
int prevOffset = offset; |