From: Roy Marples Date: Wed, 19 Nov 2008 12:50:49 +0000 (+0000) Subject: Clarify the clientid option. X-Git-Tag: v5.0.0~178 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3faba9e651e08664d5a5719efee02e5c590618e3;p=thirdparty%2Fdhcpcd.git Clarify the clientid option. --- diff --git a/dhcpcd.8.in b/dhcpcd.8.in index 13fd07e2..9a8ab030 100644 --- a/dhcpcd.8.in +++ b/dhcpcd.8.in @@ -22,7 +22,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd November 17, 2008 +.Dd November 19, 2008 .Dt DHCPCD 8 SMM .Sh NAME .Nm dhcpcd @@ -354,8 +354,13 @@ encodes the FQDN hostname as specified in Send the .Ar clientid . If the string is of the format 01:02:03 then it is encoded as hex. -For interfaces whose hardware address is longer than 8 bytes we send a default -clientid of the hardware family and the hardware address. +For interfaces whose hardware address is longer than 8 bytes, or if the +.Ar clientid +is an empty string then +.Nm +sends a default +.Ar clientid +of the hardware family and the hardware address. .El .Ss Restriciting behaviour .Nm diff --git a/dhcpcd.conf.5.in b/dhcpcd.conf.5.in index 90b2c1ba..acfcc347 100644 --- a/dhcpcd.conf.5.in +++ b/dhcpcd.conf.5.in @@ -22,7 +22,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd November 17, 2008 +.Dd November 19, 2008 .Dt DHCPCD.CONF 5 SMM .Sh NAME .Nm dhcpcd.conf @@ -64,8 +64,13 @@ carrier status. Send the .Ar clientid . If the string is of the format 01:02:03 then it is encoded as hex. -For interfaces whose hardware address is longer than 8 bytes we send a default -clientid of the hardware family and the hardware address. +For interfaces whose hardware address is longer than 8 bytes, or if the +.Ar clientid +is an empty string then +.Nm dhcpcd +sends a default +.Ar clientid +of the hardware family and the hardware address. .It Ic duid Generate an .Rs