[Xorp-cvs] XORP cvs commit: xorp/fea
Pavlin Radoslavov
pavlin@icir.org
Wed, 29 Mar 2006 17:55:13 GMT
CVSROOT: /usr/local/share/doc/apache/cvs
Module name: xorp
Changes by: pavlin@xorpc.icir.org 2006-03-29 17:55:13 UTC
XORP CVS repository
Modified files:
fea mfea_proto_comm.cc
Log message:
Port a Windows-specific fix in fea/rawsock.cc back to the MFEA:
When opening a raw socket for receiving IPv4 datagrams on
Windows, bind it to INADDR_ANY before doing anything else.
Remove the code which previously did this only whilst
joining an IPv4 multicast group.
This resolves a critical bug in the Windows FEA, whereby if a
raw socket was opened, but not joined to a multicast group, the
receive path internal to Winsock would not be hooked up and thus
no unicast or multicast traffic could be received.
[Note that currently the MFEA doesn't work on Windows, but we want
to preserve both rawsock implementations consistent until the
MFEA starts using the FEA's rawsock.]
Submitted by: Bruce M. Simpson
Revision Changes Path
1.53 +18 -18; commitid: 12cde442ac8e77ea6; xorp/fea/mfea_proto_comm.cc