name: recognize ParametersSha256DigestComponent
refs #4658, #4570
Change-Id: I8001f6aa7a406e9e8eb10fc365bd84bc711cda07
diff --git a/src/encoding/tlv.hpp b/src/encoding/tlv.hpp
index d4abdc1..f7b7240 100644
--- a/src/encoding/tlv.hpp
+++ b/src/encoding/tlv.hpp
@@ -59,30 +59,31 @@
* @sa https://named-data.net/doc/NDN-packet-spec/current/types.html
*/
enum {
- Interest = 5,
- Data = 6,
- Name = 7,
- GenericNameComponent = 8,
- ImplicitSha256DigestComponent = 1,
- CanBePrefix = 33,
- MustBeFresh = 18,
- ForwardingHint = 30,
- Nonce = 10,
- InterestLifetime = 12,
- HopLimit = 34,
- Parameters = 35,
- MetaInfo = 20,
- Content = 21,
- SignatureInfo = 22,
- SignatureValue = 23,
- ContentType = 24,
- FreshnessPeriod = 25,
- FinalBlockId = 26,
- SignatureType = 27,
- KeyLocator = 28,
- KeyDigest = 29,
- LinkDelegation = 31,
- LinkPreference = 30,
+ Interest = 5,
+ Data = 6,
+ Name = 7,
+ GenericNameComponent = 8,
+ ImplicitSha256DigestComponent = 1,
+ ParametersSha256DigestComponent = 2,
+ CanBePrefix = 33,
+ MustBeFresh = 18,
+ ForwardingHint = 30,
+ Nonce = 10,
+ InterestLifetime = 12,
+ HopLimit = 34,
+ Parameters = 35,
+ MetaInfo = 20,
+ Content = 21,
+ SignatureInfo = 22,
+ SignatureValue = 23,
+ ContentType = 24,
+ FreshnessPeriod = 25,
+ FinalBlockId = 26,
+ SignatureType = 27,
+ KeyLocator = 28,
+ KeyDigest = 29,
+ LinkDelegation = 31,
+ LinkPreference = 30,
NameComponentMin = 1,
NameComponentMax = 65535,