ip: fix problem on mips64 n64 big endian musl systems
authorSzabolcs Nagy <nsz@port70.net>
Sun, 24 Apr 2016 15:39:02 +0000 (17:39 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Sun, 24 Apr 2016 15:39:02 +0000 (17:39 +0200)
commit4ab372d49a6e82b0bf097dedb96d26330c5f2d5f
treeab95e646965ebfd333965cf82d665dd135983f3c
parentcbdff15bb78ba9d83be7f6b5087ee665715999b0
ip: fix problem on mips64 n64 big endian musl systems

Use designated initializers for struct msghdr.
The struct layout is non-portable and musl libc does not match what busybox expects.

Signed-off-by: Szabolcs Nagy <nsz@port70.net>
Tested-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
networking/libiproute/libnetlink.c