# Lanspread mdns-sd patch This directory vendors `mdns-sd` 0.21.1 under its original MIT/Apache-2.0 license. Lanspread carries a narrow defensive patch because the upstream API does not expose the source address of resolved service responses and its cache and timer collections have no hard admission limits. The local changes: - retain the observed source IP with cached records and expose the source of a resolved service; - cap cached records at 1,024 globally and 128 per observed source; - cap and deduplicate daemon timers at 4,096 entries; and - wake the daemon at least once per second so dropped late timers cannot defer expiry cleanup indefinitely. Keep this directory at the exact version recorded in `Cargo.lock`. Rebase the patch explicitly when updating the upstream crate.