Make sure the ip header lands on a 4 byte alignment by adding 2 bytes
authorflorian <florian@openbsd.org>
Sat, 10 Apr 2021 17:22:34 +0000 (17:22 +0000)
committerflorian <florian@openbsd.org>
Sat, 10 Apr 2021 17:22:34 +0000 (17:22 +0000)
commitc6841532fa4aded9af87517b1dc277071ed44250
treefd13d0685986d2d3e99a636e7190092c57b6df1e
parent658728398196a54710384ab68ca98b287c6b3be3
Make sure the ip header lands on a 4 byte alignment by adding 2 bytes
padding because the ethernet header in front is only 14 bytes.
Found the hard way by me while testing on sparc64.
Solution suggested by & OK deraadt
sbin/dhcpleased/dhcpleased.h