commit | 9ecc57021b9848778ca48ecfc04b9234f96d3c59 | [log] [tgz] |
---|---|---|
author | Remi NGUYEN VAN <reminv@google.com> | Thu Jul 11 16:19:37 2024 +0900 |
committer | Remi NGUYEN VAN <reminv@google.com> | Wed Jul 31 12:01:05 2024 +0900 |
tree | d4830ef367bd958a90655698e33662d79f0f29b5 | |
parent | 6ade6e20420ce935582ad658e678a727e799d5d2 [diff] |
Do not send empty TXT records Empty TXT records should not be sent when advertising as per RFC 6763 6.1, although it also specifies that in case they are sent, they must be treated the same as TXT records with an empty String. Some recent discovery implementations seem to not be able to find services that send empty TXT records; ensure MdnsAdvertiser sends TXT records with an empty attribute instead. Test: atest Bug: 351250155 Change-Id: If928e5f7c371faa456535160f10880adb1449b92