CVSROOT:        /cvs
Module name:    src
Changes by:     flor...@cvs.openbsd.org 2022/02/16 03:35:57

Modified files:
        sbin/dhcpleased: engine.c 

Log message:
According to RFC 2132, 2. BOOTP Extension/DHCP Option Field Format
ASCII data should not include trailing NUL but we MUST delete trailing
NULs on receiving.

Jan Vlach ( janus AT volny.cz) reported that Microsoft DHCP server
sends the domain name option with a trailing NUL which the installer
put into /etc/myname as a trailing ^@ which smtpd does not like.

Fix some whitespace while here.

Input & OK millert

Reply via email to