]> the.earth.li Git - mqtt-arp.git/commit
Fix alignment when parsing Netlink messages
authorJonathan McDowell <noodles@earth.li>
Wed, 6 Jun 2018 17:30:56 +0000 (18:30 +0100)
committerJonathan McDowell <noodles@earth.li>
Wed, 6 Jun 2018 17:30:56 +0000 (18:30 +0100)
commita494b2492c039ab957abbf74398e0642c72787c0
treeecc1658174592554440890656d26f9025714f12f
parent6121bfeaf48b68f62c814ca094f5ffb2d32b7dc2
Fix alignment when parsing Netlink messages

The Netlink header should be treated as NLA_HDRLEN in length, and
NLA_ALIGN() used to deal with padding after attributes.
mqtt-arp.c