From: Alan T. DeKok Date: Sun, 27 Oct 2019 13:53:50 +0000 (-0400) Subject: move octets to struct X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2ed9c049b119e8f75d00b5fe97fe4ec12e7cabf2;p=thirdparty%2Ffreeradius-server.git move octets to struct note that we don't (yet) support encoding or decoding of dns labels inside of a struct. We should really fix that. --- diff --git a/share/dictionary/dhcpv6/dictionary.rfc6731 b/share/dictionary/dhcpv6/dictionary.rfc6731 index 2b372846bb7..3efcc86823f 100644 --- a/share/dictionary/dhcpv6/dictionary.rfc6731 +++ b/share/dictionary/dhcpv6/dictionary.rfc6731 @@ -10,4 +10,14 @@ # ############################################################################## -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