Project

General

Profile

Actions

Bug #4403

closed

LpPacket Sequence number field incorrect encoding

Added by Junxiao Shi over 6 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Base
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:

Description

NDNLPv2 rev24 defines:

Sequence ::= SEQUENCE-TYPE TLV-LENGTH
               fixed-width unsigned integer

The spec also recommends:

Bit width of the sequence is determined on a per-link basis; 8-octet is recommended for today's links.

lp::Packet incorrectly encodes this field as nonNegativeInteger, as evidenced by EncodeFragment test case.


Related issues 2 (0 open2 closed)

Related to ndn-cxx - Task #4598: Stop accepting NonNegativeInteger as NDNLP sequence numberClosedJunxiao Shi

Actions
Blocks NFD - Task #4564: Release 0.6.2ClosedAlex Afanasyev05/04/2018

Actions
Actions

Also available in: Atom PDF