guarantee RFC standardized hostname

Glenn Satchell glenn.satchell at uniq.com.au
Fri Aug 26 12:38:50 UTC 2011


On 08/26/11 10:46, Andy Hood wrote:
>> if exists host-name and option host-name ~~ "[a-z0-9.-]+" {
>
> Doesn't that need anchors to both ends of the regex? Like "^[a-z0-9.-]+$"

That would be the answer...

regards,
-glenn



More information about the dhcp-users mailing list