Skip to content
Commit 29b52a81 authored by Christopher Friedt's avatar Christopher Friedt
Browse files

net: mdns + dns_sd: fix regression that breaks ptr queries



While adding support for service type enumeration, a regression was
introduced which prevented mDNS ptr query responses.

1. There was an off-by-one error with label size checking
2. Valid queries were failing to match in `dns_rec_match()` due to
   not checking for either NULL or 0 "wildcard" port

Fixes #39284

Signed-off-by: default avatarChristopher Friedt <chrisfriedt@gmail.com>
parent af4c3bc9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment