]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
move octets to struct
authorAlan T. DeKok <aland@freeradius.org>
Sun, 27 Oct 2019 13:53:50 +0000 (09:53 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Sun, 27 Oct 2019 13:53:50 +0000 (09:53 -0400)
note that we don't (yet) support encoding or decoding of dns labels
inside of a struct.  We should really fix that.

share/dictionary/dhcpv6/dictionary.rfc6731

index 2b372846bb7af40ac24764bd6525c40f8f9919e5..3efcc86823f59f6cd83c8462f924bb345452fea2 100644 (file)
 #
 ##############################################################################
 
-ATTRIBUTE      DNS-Recursive-Name-Server               74      octets          # Complex struct see RFC 6731
+ATTRIBUTE      DNS-Recursive-Name-Server               74      struct
+MEMBER         DNS-Recursive-Name-Server-Preference    uint8
+MEMBER         DNS-Recursive-Name-Server-FQDN          octets  # really array of DNS labels
+
+#
+#  Drugs are good, apparently.
+#
+VALUE  DNS-Recursive-Name-Server-Preference    High    0x01
+VALUE  DNS-Recursive-Name-Server-Preference    Medium  0x00
+VALUE  DNS-Recursive-Name-Server-Preference    Low     0x03
+VALUE  DNS-Recursive-Name-Server-Preference    Reserved 0x04