From: Alan T. DeKok Date: Sat, 16 Nov 2019 15:05:29 +0000 (-0500) Subject: decode horrific structure X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2c321ea2cf316c40d69c461c7b4efc4742779288;p=thirdparty%2Ffreeradius-server.git decode horrific structure --- diff --git a/share/dictionary/dhcpv6/dictionary.rfc6225 b/share/dictionary/dhcpv6/dictionary.rfc6225 index 45042c6fd34..d212c225f50 100644 --- a/share/dictionary/dhcpv6/dictionary.rfc6225 +++ b/share/dictionary/dhcpv6/dictionary.rfc6225 @@ -11,4 +11,14 @@ # ############################################################################## -ATTRIBUTE Geolocation 63 octets # Complex struct see RFC 6225 +ATTRIBUTE Geolocation 63 struct +MEMBER GeoLocation-Latitude-Uncertainty bit[6] +MEMBER GeoLocation-Latitude bit[34] # 9 bits of integer, 25 bits of fraction +MEMBER GeoLocation-Longitude-Uncertainty bit[6] +MEMBER GeoLocation-Longitude1 bit[34] # 9 bits of integer, 25 bits of fraction +MEMBER GeoLocation-Altitude-Type bit[4] +MEMBER GeoLocation-Altitude-Uncertainty bit[6] +MEMBER GeoLocation-Altitude bit[30] +MEMBER GeoLocation-Version bit[2] # must be 1 +MEMBER GeoLocation-Reserved bit[3] +MEMBER GeoLocation-Datum bit[3]