commit | be86d989cd89092acc55f89f2f37c5a82cb81a91 | [log] [tgz] |
---|---|---|
author | Junxiao Shi <git@mail1.yoursunny.com> | Wed Feb 07 14:20:29 2018 +0000 |
committer | Junxiao Shi <git@mail1.yoursunny.com> | Wed Feb 07 14:20:29 2018 +0000 |
tree | 3d761d3d560387249b45e8e955f2f67ee8db38f5 | |
parent | a7ab06d616849d2bbf30cdb283716b74189bcc1a [diff] |
mgmt: fix CsInfo.Capacity decoding refs #4050 Change-Id: Icc6d3cc45f1c7ea042b6c0a8c03d70e89852fcee
diff --git a/src/mgmt/nfd/cs-info.cpp b/src/mgmt/nfd/cs-info.cpp index c7b7f7d..8953103 100644 --- a/src/mgmt/nfd/cs-info.cpp +++ b/src/mgmt/nfd/cs-info.cpp
@@ -89,7 +89,7 @@ auto val = m_wire.elements_begin(); if (val != m_wire.elements_end() && val->type() == tlv::nfd::Capacity) { - m_nHits = readNonNegativeInteger(*val); + m_capacity = readNonNegativeInteger(*val); ++val; } else {