commit | ae0d6527d0900c6bbab02358c90f2cf7685fdbc3 | [log] [tgz] |
---|---|---|
author | Alexander Afanasyev <alexander.afanasyev@ucla.edu> | Tue Aug 30 13:29:55 2011 -0700 |
committer | Alexander Afanasyev <alexander.afanasyev@ucla.edu> | Tue Aug 30 13:29:55 2011 -0700 |
tree | f569f6601de74d5389f46afa9cfa21e7e24e1524 | |
parent | 5769923e96ee92cc5abc1e3317f4a2bf2f5580ae [diff] |
Adding temporary solution to estimate packet size. Should be changed to something more lightweight
diff --git a/helper/ccnb-parser/syntax-tree/ccnb-parser-blob.cc b/helper/ccnb-parser/syntax-tree/ccnb-parser-blob.cc index 0928eb8..4467891 100644 --- a/helper/ccnb-parser/syntax-tree/ccnb-parser-blob.cc +++ b/helper/ccnb-parser/syntax-tree/ccnb-parser-blob.cc
@@ -25,6 +25,7 @@ Blob::Blob (Buffer::Iterator &start, uint32_t length) { + m_blob = Buffer (length); start.Read (m_blob.Begin (), length); }