[Xorp-cvs] XORP cvs commit: xorp/fea
Bruce Simpson
bms@icir.org
Wed, 29 Mar 2006 17:42:35 GMT
CVSROOT: /usr/local/www/data/cvs
Module name: xorp
Changes by: bms@xorpc.icir.org 2006-03-29 17:42:35 UTC
XORP CVS repository
Modified files:
fea rawsock.cc
Log message:
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.
Submitted by: pavlin (with edits)
Revision Changes Path
1.20 +18 -18; commitid: 12c27442ac6e77ea6; xorp/fea/rawsock.cc