How does DHCPD determine what IP address to assign and...

Denis Laventure Denis_Laventure at uqac.ca
Thu Jan 3 18:42:08 UTC 2008


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.
>
>   

-- 
Denis Laventure
Technicien en informatique
Service des Technologies de l'Information
Université du Québec à Chicoutimi

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20080103/3d64270e/attachment.html>


More information about the dhcp-users mailing list