<div dir="ltr"><img class="mailtrack-img" alt="" style="display:flex" src="https://mailtrack.io/trace/mail/41aae8d95aa86341c414cf3729093b248338bfd2.png?u=2611504" width="0" height="0"><div></div>
<div><div>Hi,</div><div><br></div><div>I'm creating new Interest based on an already existing Interest object using following code:</div><div><br></div><div>
<span style="font-family:monospace,monospace">auto tempInterest = std::make_shared<Interest>(<wbr>interest.wireEncode());</span>

<br></div><div><br></div><div>When this Interest comes to forwareder I'm getting error
in
<span style="font-family:tahoma,sans-serif">onContentStoreMiss</span> method in <span style="font-family:tahoma,sans-serif">Forwarder.cpp</span>

, let me explain it below:<br><br></div><span style="font-family:tahoma,sans-serif">shared_ptr<lp::<wbr>NextHopFaceIdTag> nextHopTag = interest.getTag<lp::<wbr>NextHopFaceIdTag>();</span><br><br></div>Above line in <span style="font-family:tahoma,sans-serif">onContentStoreMiss</span> method in <span style="font-family:tahoma,sans-serif">Forwarder.cpp</span> always returns <i><span style="font-family:tahoma,sans-serif">nullptr</span></i> making <span style="font-family:tahoma,sans-serif">if (nextHopTag != nullptr) returns false</span> at very next line. So the execution does not goes inside this if-block. This way, following statement inside the if-block <br><br><span style="font-family:tahoma,sans-serif">this->onOutgoingInterest(<wbr>pitEntry, *nextHopFace, interest); </span><br><br>never executed and hence the Interest is not flooded to neighboring nodes. Why the <span style="font-family:tahoma,sans-serif">nextHopTag</span> is <span style="font-family:tahoma,sans-serif">null</span> in Interest? What is the solution of it? Am I missing something? Please help.

<br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><span style="font-family:georgia,serif">Regards,<br></span></div><div><span style="font-family:georgia,serif">Mudasir Qazi<br></span></div></div></div></div></div></div></div></div></div>
<br><br><br>‌</div>