]> git.ipfire.org Git - thirdparty/dhcp.git/commit
Handle hostnames that start with numbers.
authorShane Kerr <shane@isc.org>
Wed, 23 May 2007 15:29:49 +0000 (15:29 +0000)
committerShane Kerr <shane@isc.org>
Wed, 23 May 2007 15:29:49 +0000 (15:29 +0000)
commit66eaae186e42e4bd5ae016af723fde9d6f5c518f
treeebbf1eee7c6562027d16e55df2586149a748ed89
parent6d7bdffcbdcf970e8e7d2b9b45f7da2d38257d8e
Handle hostnames that start with numbers.

This involved needing to look at more than one token at a time, so
this patch moves from read() to mmap() of files, as a way to gracefully
rewind.

See RT ticket #16516 for (a lot) more.
common/conflex.c
common/parse.c
includes/dhcpd.h