From: Thomas Markwalder Date: Thu, 23 May 2019 19:51:09 +0000 (-0400) Subject: [#539, !330] Updated admin guide and added ChangeLog X-Git-Tag: Kea-1.6.0-beta~78 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=85898ea357b0ff5f8aac4f05b3b4104844199beb;p=thirdparty%2Fkea.git [#539, !330] Updated admin guide and added ChangeLog --- diff --git a/ChangeLog b/ChangeLog index 38f2bac7b7..1b60a7c03f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +1582. [bug] tmark + Input values for DHCPv4 and DHCPv6 options of type 'string' + will now be trimmed of any trailing null bytes (0x0). + (Gitlab #539, !330, git #TBD) + 1581. [bug] marcin Corrected a bug whereby the DHCPv6 server did not take into account a relay address specified at the shared network level diff --git a/doc/guide/dhcp4-srv.xml b/doc/guide/dhcp4-srv.xml index e52fe9a6c1..506e22882b 100644 --- a/doc/guide/dhcp4-srv.xml +++ b/doc/guide/dhcp4-srv.xml @@ -1726,7 +1726,7 @@ It is merely echoed by the server. ipv6-prefixIPv6 prefix and prefix length specified using CIDR notation, e.g. 2001:db8:1::/64. This data type is used to represent an 8-bit field conveying a prefix length and the variable length prefix value. psidPSID and PSID length separated by a slash, e.g. 3/4 specifies PSID=3 and PSID length=4. In the wire format it is represented by an 8-bit field carrying PSID length (in this case equal to 4) and the 16-bits-long PSID value field (in this case equal to "0011000000000000b" using binary notation). Allowed values for a PSID length are 0 to 16. See RFC 7597 for details about the PSID wire representation. recordStructured data that may be comprised of any types (except "record" and "empty"). The array flag applies to the last field only. - stringAny text. + stringAny text. Please note that Kea will silently discard any terminating/trailing nulls from the end of 'string' options when unpacking received packets. This is keeping with RFC 2132, Section 2 tupleA length encoded as an 8- (16- for DHCPv6) bit unsigned integer followed by a string of this length. uint88-bit unsigned integer with allowed values 0 to 255. uint1616-bit unsigned integer with allowed values 0 to 65535.