Skip to content
Unverified Commit 8920a2bf authored by Niels Widger's avatar Niels Widger Committed by GitHub
Browse files

rpcd-mod-luci: Fix parsing of DUID-LLT's in duid2ea



Fix parsing of DUID-LLT's in duid2ea.  Unlike DUID-LL's, DUID-LLT's have a 32-bit time field between the hardware type and link-layer address fields, see RFC 3315 Sections 9.2 and 9.4:

https://tools.ietf.org/html/rfc3315#section-9.2
https://tools.ietf.org/html/rfc3315#section-9.4

therefore, the link-layer address starts at offset 16 instead of 8.

Signed-off-by: default avatarNiels Widger <niels@qacafe.com>
parent 5e4f36b6
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment