]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
convert complex field to struct
authorAlan T. DeKok <aland@freeradius.org>
Wed, 30 Oct 2019 12:04:01 +0000 (08:04 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Wed, 30 Oct 2019 12:34:52 +0000 (08:34 -0400)
Mostly. The struct decoder still doesn't do DNS labels, so that
has to be fixed

share/dictionary/dhcpv6/dictionary.rfc4704

index 4569c0b0b4fa94825d3ac0bafea8b50c17e4524a..12973df489ff785580576af36e19e36b1ac6c1cc 100644 (file)
 #
 ##############################################################################
 
-ATTRIBUTE      Client-FQDN                             39      octets          # Complex struct see RFC 4704
+ATTRIBUTE      Client-FQDN                             39      struct
+MEMBER         Client-FQDN-Flags                       uint8
+MEMBER         Client-FQDN-Domain-Name                 octets  # really string dns_label
+
+VALUE  Client-FQDN-Flags                       Server-Update  1        # really bit field
+VALUE  Client-FQDN-Flags                       Server-Override  2      # really bit field
+VALUE  Client-FQDN-Flags                       No-Server-Update  4     # really bit field