[Nfd-dev] packet parse error

Davide Pesavento davidepesa at gmail.com
Thu Dec 3 23:42:00 PST 2020


Hi Meban,

jNDN still uses the NDN packet format v0.2 by default, which is no
longer supported since NFD 0.7.0. Add the following line of code at
the beginning of your program to change the default packet format to
v0.3:

    WireFormat.setDefaultWireFormat(Tlv0_3WireFormat.get());

Best regards,
Davide

On Fri, Dec 4, 2020 at 2:33 AM meban via Nfd-dev
<nfd-dev at lists.cs.ucla.edu> wrote:
>
> Hi everyone,
>
> I am currently working on ICN and using NDN as a reference. I have installed NFD in Ubuntu app of windows 10 using WSL.
>
> I am using jNDN as the local client-side and tried to register prefix but get an error as:
>
> WARN: [nfd.GenericLinkService] [id=257,local=tcp4://127.0.0.1:6363,remote=tcp4://127.0.0.1:53158] packet parse error (Unrecognized element of critical type 9): DROP
>
> May I know what is the exact problem.
>
> [I am using JNDN ver. 0.24
> NFD ver. 0.7.0-28-gf3bc3ae9
> Both JNDN & NFD runs on the same pc
> ]
>
> Kindly help
>
> Regards,
> Meban
> _______________________________________________
> Nfd-dev mailing list
> Nfd-dev at lists.cs.ucla.edu
> http://www.lists.cs.ucla.edu/mailman/listinfo/nfd-dev


More information about the Nfd-dev mailing list