CVSROOT: /cvs Module name: src Changes by: bl...@cvs.openbsd.org 2025/02/07 14:56:04
Modified files: sbin/dhcpleased: engine.c Log message: Rework checksum validation for incoming UDP in dhcpleased(8). RFC 1071 recommends to verify the checksum by calculating it over the packet including the checksum and compare to 0. That is also what our kernel does. Convert the logic in dhcpleased(8) to that algorithm. tested and OK jan@