summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
authorflorian <florian@openbsd.org>2021-03-22 16:28:25 +0000
committerflorian <florian@openbsd.org>2021-03-22 16:28:25 +0000
commit2d2edb0e3ca50fe71a66c867079a162d6456111e (patch)
tree8453ca944ed98b9c7e00b43482a426f19b5c0e95 /sys/dev
parentAvoid overflow by writing x = (y * 7) / 8 as x = y - (y / 8); ok florian (diff)
downloadwireguard-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')
0 files changed, 0 insertions, 0 deletions