<div dir="ltr"><div><div><div><div>Dear Alex,<br> <br></div>In my customize forwarding, I want to send local information of every hop by tagging data packet.<br></div>When router received data, it read tag and then remove it and add it again router information.<br>

</div>But I found a problem when I remove the tag. Actually I think I cannot remove the tag.<br><table cellpadding="0"><tbody><tr><td colspan="2"><span></span><br></td><td colspan="2">
<span><span></span></span><br> MyTag tag; <br>    bool isTag = data->GetPayload()->PeekPacketTag(tag);<br>    if (isQueueTag)<br>        {<br>            read = tag.GetTag();<br>            NS_LOG_INFO ("Infomation "<< read << " : received from data > "<< data->GetName());<br>

<br>            //to remove tag<br>            ConstCast<Packet>(data->GetPayload())->RemovePacketTag (tag);<br><br>           if (tag.GetTag != 0)<br>                std::cout << "Cannot Remove the tag in data > "<< data->GetName()<<std::endl;<br>

         }<br></td></tr></tbody></table><br></div>Could you give me an advice how should I do it?<br><div><div><div><div><div><br></div><div>regards<br></div><div>TUN<br></div></div></div></div></div></div>