Displaying 1 result from an estimated 1 matches for "dhcp177".
2005 May 19
0
OT: debugging dhcp hostname
...nf.
this works:
option host-name=concat("dhcp-", binary-to-ascii(10, 8, "-", leased-address)) ;
That creates dhcp-192-168-1-177
not not:
option host-name=concat("dhcp", substr(binary-to-ascii(10, 8, "-",
leased-address),11,3)) ;
I would like it to create dhcp177.
I am thinking instead of substr() I should just do "leased-address AND 0xff", but
not sure the syntax.
Given that this isn't the last time I will be messing with dhcp, I would still
like to know how to test.
Carl Karsten