| Index: pkg/mdns/lib/src/packet.dart
|
| diff --git a/pkg/mdns/lib/src/packet.dart b/pkg/mdns/lib/src/packet.dart
|
| index 18eeca032e54707da1ae6b6d53f8602cf76e2c67..548e8c7d0f2287452d510c05dc92635316f84eef 100644
|
| --- a/pkg/mdns/lib/src/packet.dart
|
| +++ b/pkg/mdns/lib/src/packet.dart
|
| @@ -82,7 +82,7 @@ List<DecodeResult> decodeMDnsResponse(List<int> packet) {
|
| // Flags.
|
| int flags = bd.getUint16(flagsOffset);
|
|
|
| - if (flags != responseFlags) return;
|
| + if (flags != responseFlags) return null;
|
| // Query count.
|
| int qdcount = bd.getUint16(qdcountOffset);
|
| // Number of answers.
|
|
|