From cb7cfe5cb72a27d803396fea67f28ef93ef787c2 Mon Sep 17 00:00:00 2001 From: Ted Lemon Date: Fri, 4 May 2001 17:15:17 +0000 Subject: [PATCH] Mention that an ASCII DHCP client identifier may include a leading NUL. --- common/dhcp-options.5 | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/common/dhcp-options.5 b/common/dhcp-options.5 index ef6dddbe..2a8c00cf 100644 --- a/common/dhcp-options.5 +++ b/common/dhcp-options.5 @@ -204,6 +204,18 @@ sending TCP segments. The minimum value is 1. This option can be used to specify the a DHCP client identifier in a host declaration, so that dhcpd can find the host record by matching against the client identifier. +.PP +Please be aware that some DHCP clients, when configured with client +identifiers that are ASCII text, will prepend a zero to the ASCII +text. So you may need to write: +.nf + + option dhcp-client-identifier "\\0foo"; + +rather than: + + option dhcp-client-identifier "foo"; +.fi .RE .PP .B option \fBdhcp-max-message-size\fR \fIuint16\fR\fB;\fR