bug in dhclient / dhclient.conf / dhcp-options parser?

Lowell Gilbert freebsd-questions-local at be-well.ilk.org
Tue Nov 19 14:49:20 UTC 2013


CeDeROM <cederom at tlen.pl> writes:

> On Tue, Nov 19, 2013 at 3:09 PM, CeDeROM <cederom at tlen.pl> wrote:
>> I have noticed that other options with names known to
>> dhcp-options and decimal numbers above 100 are sent correctly, so
>> maybe there is an error in the options number parser, or I do
>> something wrong?
>
> I have just tested value 88 (example below 100) and it works
> correctly, so parsing seems okay. Why some option numbers are treated
> in a different way then? :-(

See the manual ("man 5 dhcp-options").

                                                         Options which are not
     listed by name may be defined by the name option-nnn, where nnn is the
     decimal number of the option code. 

You can only specify options by number if the dhcp client doesn't know
the syntax/semantics for that particular option.


More information about the freebsd-questions mailing list