]> git.ipfire.org Git - thirdparty/lldpd.git/commit
Don't pack struct hmsg since we are not able to do unaligned access on some archs.
authorVincent Bernat <bernat@luffy.cx>
Wed, 26 Oct 2011 13:56:07 +0000 (15:56 +0200)
committerVincent Bernat <bernat@luffy.cx>
Wed, 26 Oct 2011 13:56:07 +0000 (15:56 +0200)
commita8818344897de5d62146d62ababfb53c47da4765
treebec5a38341eaa8d30f02b74fe6dacc32f1de5264
parent0265b1e5bdb07ac765d13e9fdb6563565102c974
Don't pack struct hmsg since we are not able to do unaligned access on some archs.

Packing was used because data was cast as a pointer and therefore,
header was padded excessively. Since we don't use it as a pointer, we
cast it as an incomplete array of chars. We don't need its size.
CHANGELOG
src/lldpd.h