diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2015-07-30 22:16:47 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2015-07-30 22:38:36 +0200 |
commit | 376f0387261df8b2c3d5b0718a98740b9732aa24 (patch) | |
tree | 0b1ed95550b280115194a892088b5a4caaa9708c /contrib/uci | |
parent | 69ecfff002452c8ac220c4fe83156c4dfa985fa0 (diff) |
luci-lib-nixio: pass exact sockaddr length to getnameinfo()
Musl libc requires the length parameter of getnameinfo() to be exactly
`sizeof(struct sockaddr_in)` or `sizeof(struct sockaddr_in6)`, depending on
the passed sockaddr family.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Diffstat (limited to 'contrib/uci')
0 files changed, 0 insertions, 0 deletions