tlv: !!! MAJOR CHANGE !!! Changed TLV codes
Change-Id: Id3d73db74889a13ac7db73c5f2a16d7c2c28f091
diff --git a/src/encoding/tlv.hpp b/src/encoding/tlv.hpp
index 511d0f6..1ea0936 100644
--- a/src/encoding/tlv.hpp
+++ b/src/encoding/tlv.hpp
@@ -25,10 +25,10 @@
struct Error : public std::runtime_error { Error(const std::string &what) : std::runtime_error(what) {} };
enum {
- Interest = 1,
- Data = 2,
- Name = 3,
- NameComponent = 4,
+ Name = 1,
+ NameComponent = 2,
+ Interest = 3,
+ Data = 4,
Selectors = 5,
Nonce = 6,
Scope = 7,