commit | 2c921e012ed1744c3b3d3eb1508d86d7b4e4a2e8 | [log] [tgz] |
---|---|---|
author | Paul Hu <paulhu@google.com> | Wed Jul 26 06:42:00 2023 +0000 |
committer | Paul Hu <paulhu@google.com> | Tue Aug 08 06:17:39 2023 +0000 |
tree | 1e15d9e0a72b235d063b4da92c20518312c686d3 | |
parent | 8ba50ae30fe0abdf9f7e7f0b67c60574d8171671 [diff] |
Obtain the target socket directly to send packets The sendMdnsPacket() now only sends packets on the specific socket. Therefore, it does not need to iterate through the list of active sockets to find the target socket. Instead, it can simply use the target socket key to get the target socket and send the packets on it. Fix: 291871455 Test: atest FrameworksNetTests Change-Id: If054959a142659625f2604224fcfd83792e2edfc