named-data / YaNFD

Yet another Named Data Networking Forwarding Daemon
https://pkg.go.dev/github.com/named-data/YaNFD
MIT License
12 stars 10 forks source link

ndn: accept NameComponent with TLV-LENGTH==0 #24

Closed yoursunny closed 2 years ago

yoursunny commented 2 years ago

According to NDN Packet Format, NameComponent (except ImplicitSha256DigestComponent and ParametersSha256DigestComponent) can have TLV-LENGTH==0.

zjkmxy commented 2 years ago

The ... notation is strange to me, but since it is the Spec, let me merge this.