commit | c299ed717eea4dbf7ca3581bcba05ff09f79276c | [log] [tgz] |
---|---|---|
author | Timo Teräs <timo.teras@iki.fi> | Tue Jul 29 09:41:55 2014 +0000 |
committer | David Lamparter <equinox@opensourcerouting.org> | Mon Aug 18 01:50:23 2014 +0200 |
tree | 1c5bcdf75892ef9958edc8f38dd7f01922f0e57d | |
parent | 16ffb26fbbf8b3d1fee7a14eb401ecb02eed5058 [diff] |
zebra: fix struct msghdr initializers struct msghdr field orders are not strictly specified in POSIX. Improve portability by using designated initializer. This fixes build against musl c-library where struct msghdr is POSIX compliant (Linux kernel and glibc definitions are non-conforming). As the result is also more readable, struct iovec initilizers were also converted. Signed-off-by: Timo Teräs <timo.teras@iki.fi> Signed-off-by: David Lamparter <equinox@opensourcerouting.org>