commit | 2bbcc34ea1f823709cae67e6e2377882f484adfc | [log] [tgz] |
---|---|---|
author | Paul Hu <paulhu@google.com> | Mon Apr 22 10:09:42 2024 +0000 |
committer | Paul Hu <paulhu@google.com> | Wed Jun 26 14:50:48 2024 +0000 |
tree | 51af27daedb6027d05ab333571e065d89eafd486 | |
parent | ac6131b5f10f3bd40cc2bcd5d44f737bff51cc82 [diff] |
Ensure all DatagramPackets with the same destination address The MdnsSocketclient#sendMdnsPacket() uses the address of the first packet only. Since there's no guarantee that all packets have the same address, skip sending packets if any have a different address. Fix: 335125073 Test: atest FrameworksNetTests NsdManagerTest Change-Id: Ief0fd81eacf46b33bb2e8c0fcc4da7981ac2972d