Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Nov 2013 11:03:46 +0100
From:      CeDeROM <cederom@tlen.pl>
To:        FreeBSD Questions Mailing List <freebsd-questions@freebsd.org>
Subject:   Re: bug in dhclient / dhclient.conf / dhcp-options parser?
Message-ID:  <CAFYkXj=ELyo9FAL8u3R6gVER9ZFKkz1VmNdOeXsBT_mb_hVK1g@mail.gmail.com>
In-Reply-To: <4438msj6z6.fsf@be-well.ilk.org>
References:  <CAFYkXjnrr5B=jNR_mtUCbcRcyCMqv96vTC=wxhEmdDU%2BVYPa_A@mail.gmail.com> <CAFYkXj=cDhH79C0b9B7Sq08ZbcQFAfHK%2B3t9xaqTMuHbF5wdTw@mail.gmail.com> <441u2cih07.fsf@lowell-desk.lan> <CAFYkXjmVsAS9kLZia_Q5MDBHcDW0V9k1aO-YZi6-deERP-rXog@mail.gmail.com> <44vbzogr7g.fsf@lowell-desk.lan> <CAFYkXj=0XkrUzoQKbqd3EUR1NyW=PDKb1oxxvhPnWXKXL-heWQ@mail.gmail.com> <4438msj6z6.fsf@be-well.ilk.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Nov 20, 2013 at 12:40 AM, Lowell Gilbert
<freebsd-questions-local@be-well.ilk.org> wrote:
> CeDeROM <cederom@tlen.pl> writes:
>
>> I guess this option-nnn thing should work for all values no matter
>> what are the names in some table :-)
>
> The ISC folks seem to agree, as they've changed their code base to do
> so. There are huge structural differences in the internals, though, so
> it's not just a matter of porting a fix.
>
>> I have used isc-42-dhcp-client and it works with the names, but it
>> would be nice to have it working in the base as well :-)
>
> I think my earlier message had enough detail to put out a Problem Report
> for the issue. If you prefer, I could come up with a patch for the
> actual fix, but if I did that, I would spend enough time to check *all*
> of the options to see which other ones might be missing, so I wouldn't
> come up with a PR immediately.

What I mean and stated above, the parsing option-nnn should work no
matter what options are missing - option names should be addition to
the option-nnn numbers kind of text alias - this would be simple
functional and effective solution without messed code I guess..? :-)

-- 
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFYkXj=ELyo9FAL8u3R6gVER9ZFKkz1VmNdOeXsBT_mb_hVK1g>