keepsimple1 / mdns-sd

Rust library for mDNS based Service Discovery
Apache License 2.0
104 stars 39 forks source link

bugfix: check for rdata length #250

Closed keepsimple1 closed 2 months ago

keepsimple1 commented 2 months ago

This is to address issue #249 by always checking for rdata length inside a RR record.

Also simplify DnsTxt::new as its record type is always TYPE_TXT anyway.