[Ns-bugs] [Bug 637] Tags with UDP cause Assert failure with Virtual-net-devices

code@nsnam.ece.gatech.edu code at nsnam.ece.gatech.edu
Tue Jul 14 05:32:02 PDT 2009


http://www.nsnam.org/bugzilla/show_bug.cgi?id=637


Antti Mäkelä <zarhan at cc.hut.fi> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WORKSFORME




--- Comment #1 from Antti Mäkelä <zarhan at cc.hut.fi>  2009-07-14 08:32:02 EDT ---
Ok, a more proper fix was to add

  packet->RemoveAllPacketTags ();
  packet->RemoveAllByteTags ();

to the virtual receiving functions. If not added, the "Address from" you get
from a socket->RecvFrom() was pointing to the intermediate router as
originator, not the original one.

Closing for now.


-- 
Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Ns-bugs mailing list