src/internet-stack/ipv4-l3-protocol.cc
changeset 4502 07d34c0d8d18
parent 4481 9250a25ee683
child 4558 31e9053749bb
child 5050 5c2002bda934
--- a/src/internet-stack/ipv4-l3-protocol.cc	Tue Jun 02 19:46:01 2009 +0200
+++ b/src/internet-stack/ipv4-l3-protocol.cc	Wed Jun 03 08:49:40 2009 +0200
@@ -482,7 +482,7 @@
   bool mayFragment = true;
   uint8_t ttl = m_defaultTtl;
   SocketIpTtlTag tag;
-  bool found = packet->FindFirstMatchingTag (tag);
+  bool found = packet->RemovePacketTag (tag);
   if (found)
     {
       ttl = tag.GetTtl ();