CVSROOT:        /cvs
Module name:    src
Changes by:     flor...@cvs.openbsd.org 2022/04/26 08:50:04

Modified files:
        sbin/dhcpleased: frontend.c 

Log message:
Do not send a hostname option when we don't have a hostname.

The minimum length of a hostname is 1 according to RFC 2132.
Found the hard way by Ibrahim Khalifa (ibo AT trukonsult.se) with DHCP
Relay on a Cisco ASA in the installer where we don't have a hostname
yet.
Ibrahim also provided a diff which I simplified a bit.
OK tb

Reply via email to