commit | 145b16cb5a321e56828d51aa12d1c1d85d6d06e3 | [log] [tgz] |
---|---|---|
author | Remi NGUYEN VAN <reminv@google.com> | Thu Mar 16 18:02:19 2023 +0900 |
committer | Yuyang Huang <yuyanghuang@google.com> | Wed Apr 12 12:43:00 2023 +0900 |
tree | 7bf55a9dd77bb72359028f277e42d52b07564737 | |
parent | e2294fb13ea288637c15fb0b44a235064faec88e [diff] |
Include/exclude mDNS interfaces based on transport Regardless of IFF_MULTICAST (and IFF_BROADCAST), always include wifi transport interfaces, and always exclude cellular transport interfaces. Some interfaces do not have the multicast or broadcast flag set properly. Use the transport to determine whether to use them, rather than the interface flags. Bug: 268138840 Test: atest MdnsSocketProviderTest Change-Id: Idbddfa9d2cc05ce1850786aa634da4c38afd3fc0