How does DHCPD determine what IP address to assign and...
Ryan McCain
Ryan.McCain at dss.state.la.us
Thu Jan 3 18:56:13 UTC 2008
>>> On Thu, Jan 3, 2008 at 12:42 PM, in message
<477D2C80.2090109 at uqac.ca>, Denis
Laventure <Denis_Laventure at uqac.ca> wrote:
> Sorry but you must have dhcp 4.0 man pages, because I don't have
that
> information on my 3.1.0 man page for dhcp-eval...
> Only data-expression-1 = data-expression-2.
>
> But now that 4.0 is released I will try it if it supports regex.
>
> David W. Hankins a écrit :
>> On Thu, Jan 03, 2008 at 11:30:37AM -0600, Frank Bulk wrote:
>>
>>> What we really need is standard regex in this matching stuff.
>>>
>>
>> wget ftp://ftp.isc.org/isc/dhcp/dhcp-3.1.0.tar.gz
>> tar xzf dhcp-3.1.0.tar.gz
>> cd dhcp-3.1.0
>> ./configure ; make ; sudo make install
>> man dhcp-eval
>> /~=
>>
>> data-expression-1 ~= data-expression-2
>> data-expression-1 ~~ data-expression-2
>>
>> The ~= and ~~ operators (not available on all
systems)
> perform
>> extended regex(7) matching of the values of two data
> expressions,
>> returning true if data-expression-1 matches against
the regular
>> expression evaluated by data-expression-2, or false if
it does not
>> match or encounters some error. If either the left-hand
side or
> the
>> right-hand side are null, the result is also false. The
~~
> operator
>> differs from the ~= operator in that it is
case-insensitive.
>>
>>
I don't see anything in the dhcp-3.0.3-23.33 man pages either, which is
the version supported by SLES 10.
More information about the dhcp-users
mailing list