On 2013/01/03 16:00, MERIGHI Marcus wrote: > [email protected] (Jason McIntyre), 2013.01.02 (Wed) 18:39 (CET): > > On Sun, Dec 16, 2012 at 07:24:53PM +0100, MERIGHI Marcus wrote: > > > playing with option-252 I found it already has a name. Found that as > > > well: http://marc.info/?l=openbsd-misc&m=126573542214773 > > > > > > Index: dhcp-options.5 > > > =================================================================== > > > > fixed now by krw. > > jmc > > I find it desireable to have the option numbers mentioned in > dhcp-options(5). Rationale: > > - the names assigned are arbitrary, the numbers are RFC'd. > - searching the interwebs often returns the numbers and an arbitrary > name that doesn't necessarily help in finding the name used by > OpenBSDs dhcpd(8). > - having to look up number-to-name in usr.sbin/dhcpd/tables.c is not > intended, I suppose. > > That is going to be a lot of work, therefore asking in advance: > any interest in such a diff?
Yes. > Additionally, as something that I cannot code myself, I would like to > be allowed to specify ``option-35 3600;'' even if there's a name > assigned to that number. This is more difficult as you would need to be able to specify the format (IP address, various types of integer, strings, flags, arrays)..
