musl: fix handling of point-to-point interfaces in getifaddrs()
authorJo-Philipp Wich <jow@openwrt.org>
Mon, 16 Nov 2015 18:15:00 +0000 (18:15 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Mon, 16 Nov 2015 18:15:00 +0000 (18:15 +0000)
commit7c37e463103cff600e5e0bbb3aa30605c6199d92
treee3bc14c0b247d0426b8e97eb5911990981d2f390
parent6cb880ec13f1f9f726d4ce6ffc0705c220ff6a47
musl: fix handling of point-to-point interfaces in getifaddrs()

Current musl reports the peer (remote) address of a point-to-point
interface and does not store the local address at all.

Apply the same special treatment of IFA_LOCAL to musl's getifaddrs() which
is also used in glibc and uclibc.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 47488
toolchain/musl/patches/920-getifaddrs_ptp_fix.patch [new file with mode: 0644]