ASCII hardware address
Robin Breathe
robin-dhcp at isometry.net
Wed May 31 17:52:18 UTC 2006
Hello,
I have problems obtaining a nice ASCII representation of the client
hardware address within "on ..." clauses.
Using the following syntax:
binary-to-ascii(16, 16, ".", suffix(hardware,6))
I get things like "d.38b.cde8" when I expect "000d.038b.cde8".
Is there any way to get dhcp-eval to output the complete format without
dropping leading zeros or must this be "cleaned up" in post processing?
If there's a quicker way to fish out the full address, I'm all ears.
Regards,
Robin
More information about the dhcp-hackers
mailing list