Merge pull request #4837 from nwidger/fix-duid-llts-in-duid2ea

rpcd-mod-luci: Fix parsing of DUID-LLT's in duid2ea
This commit is contained in:
Jo-Philipp Wich 2021-02-25 21:44:06 +01:00 committed by GitHub
commit e9d3e9e402
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -285,7 +285,7 @@ duid2ea(const char *duid)
switch (len) { switch (len) {
case 28: case 28:
if (!strncmp(duid, "00010001", 8)) if (!strncmp(duid, "00010001", 8))
p = duid + 8; p = duid + 16;
break; break;