[Ns-bugs] [Bug 136] Sockets bound to specific interfaces receive broadcasts arriving on other interfaces
bugzilla-daemon@nsnam-www.ece.gatech.edu
bugzilla-daemon at nsnam-www.ece.gatech.edu
Tue Feb 12 21:36:54 PST 2008
http://www.nsnam.org/bugzilla/show_bug.cgi?id=136
------- Comment #4 from tomh at tomh.org 2008-02-13 00:36 -------
I support the patch; just had a couple of nits:
+ ipv4_api->FindInterfaceForAddr (ipv4); // check if address matches a
local interface
I would change the above comment to // asserts if requested address is not
found
I was looking at this function for a while and wondering "why is the return
value ignored?"
Also,
+ Ipv4Address m_localInterface; // local interface (optional)
In what sense is this optional? I see it as a mandatory parameter everywhere.
Does "(optional)" mean optional in the sense that the user calling Bind is
optional?
--
Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the Ns-bugs
mailing list