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)
commitab11edcd4c2325e62ea0e02c80f7630b8d191300
tree77b811793f7889b27d244db96b6a73ec9eb973ba
parentd99af7f05ac198ab8e995968f5b7e2ac2d942818
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]