Tweak parsing so that hostnames starting with 0-9 are accepted.
authorkrw <krw@openbsd.org>
Mon, 18 May 2015 17:51:21 +0000 (17:51 +0000)
committerkrw <krw@openbsd.org>
Mon, 18 May 2015 17:51:21 +0000 (17:51 +0000)
commit11b1f78ac67154562cb30cbdd164ae54e7e66fd6
tree0498081d6fe2d220f89528fad255700ea047c510
parent70d03dad87409ee59c53b3317a3885d5afbca8c5
Tweak parsing so that hostnames starting with 0-9 are accepted.

Reported long ago by matthieu@. Also Jacob Berkman via the lists.

Tests and suggestions from Jacob and Matthieu.
sbin/dhclient/clparse.c
sbin/dhclient/conflex.c
sbin/dhclient/parse.c
usr.sbin/dhcpd/conflex.c
usr.sbin/dhcpd/confpars.c
usr.sbin/dhcpd/parse.c