summaryrefslogtreecommitdiff
path: root/tests/malloc_test.cpp
diff options
context:
space:
mode:
authorBram Bonné <brambonne@google.com>2020-02-21 11:47:20 +0100
committerBram Bonné <brambonne@google.com>2020-02-24 10:56:57 +0100
commit14e5c3c3b6c3a85535521e1f60b8e058800f221b (patch)
tree3f9f5ffe51703c5efe26e24b406775b693ef86a2 /tests/malloc_test.cpp
parentfb28c278b726a2281cef89cf25b5e9a2a5503b31 (diff)
Try to resolve interface names before removing nameless interfaces.
For interfaces that didn't get their name set, try to resolve their name using if_indextoname first, before removing them from the list. This allows getifaddrs() to keep returning interfaces that only have an IPv6 address set (as opposed to the previous behavior where only interfaces with an IPv4 address would be returned). Change-Id: I0e4e6611948b12794cd3e354538f2964fbf31078 Fix: 148886805 Bug: 141455849 Test: atest NetworkInterfaceTest Test: atest bionic-unit-tests-static Test: atest IpSecManagerTunnelTest
Diffstat (limited to 'tests/malloc_test.cpp')
0 files changed, 0 insertions, 0 deletions