malvira/erbr

routes and parents chars are off by one in multiple block responses

Closed this issue · 1 comments

{"routes":[{"dest":"2002:c63d:eeef:8:ee47:3c4d:1200:9","next":"fe80::ee47:3c4d:1200:9"},{"dest":"2002:c63d:eeef:8:ee47:3c4d:1200:7","next":"fe80::ee47:3c4d:1200:7"},{"dest":"2002:c63d:eeef:8:e47:3c4d:12bd:d1dc","next":"fe80::ee47:3c4d:1200:9"}]}

e47:3c4d instead of ee47

The code that handles this is routes and parents is duplicated. Would be nice to factor it out (and maybe fix the bug in the process).

finxed in rplinfo f4a4836