On Feb 2, 2010, at 5:27 AM, Olaf van der Spek wrote:
Nice!
If that's not possible, maybe adding the new syntax to the existing Ubuntu patch (I assume it's send host-name "gethostname()";) shouldn't be hard.

My understanding from the man pages is that it would be:
  send host-name = gethostname();
although I've not attempted to verify that my understanding is correct.

If you look in the "dhcp-options" and "dhcp-eval" manpages, you can see the syntax for such expressions. I don't see any mention of them working in a "send" line, but I *think* all the infrastructure for parsing and evaluating such expressions is already present, it's just the new function gethostbyname() expression that was added (thus expr_gethostname). So the patch will be completely different and should be much less hacky than Ubuntu's patch.

James



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to