diff options
author | 2021-03-22 16:28:25 +0000 | |
---|---|---|
committer | 2021-03-22 16:28:25 +0000 | |
commit | 2d2edb0e3ca50fe71a66c867079a162d6456111e (patch) | |
tree | 8453ca944ed98b9c7e00b43482a426f19b5c0e95 /sys/dev/fdt/dwpcie.c | |
parent | Avoid overflow by writing x = (y * 7) / 8 as x = y - (y / 8); ok florian (diff) | |
download | wireguard-openbsd-2d2edb0e3ca50fe71a66c867079a162d6456111e.tar.xz wireguard-openbsd-2d2edb0e3ca50fe71a66c867079a162d6456111e.zip |
BOOTP has a minimum packet length of 300 bytes. Since DHCP is
interoperable with BOOTP we should also send packets that have a
minimum size of 300.
I haven't seen a DHCP server that actually enforces this except the
one in vmd(8), but it doesn't cost us much and prevents hair pulling
later on when we find one in the wild.
OK deraadt
Diffstat (limited to 'sys/dev/fdt/dwpcie.c')
0 files changed, 0 insertions, 0 deletions