<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Hi!</div><div><br></div>You can update code in model/fw/ndn-forwarding-strategy.cc around lines 185-189.<div>In the current form, the hop count tag is echoed from the interest.  If you simply add tag without peeking the interest tag first, you'll get a reset value:</div><div><br></div><div>That is, you ned something like this:</div><div><br></div><div><div>      FwHopCountTag hopCountTag;</div><div>      contentObject->GetPayload ()->AddPacketTag (hopCountTag);</div><div><br></div></div><div>---</div><div>Alex</div><div><br></div><div><br><div><div>On Sep 1, 2013, at 6:50 PM, 陈胜蓝 <<a href="mailto:blindeafer@163.com">blindeafer@163.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="line-height: 1.7; font-size: 14px; font-family: arial; ">Hi All,<div>I would like to reset the member m_hopCount of hopCountTag to 0 before the node send the content to satisfy interests if it cache the content, which function and how can I modify the code,would you please give me some hints?</div><div><br></div><div>Regards.</div></div></blockquote></div></div></body></html>