Subject: CVS commit: src/sys/netinet
To: None <source-changes@NetBSD.org>
From: David Young <dyoung@netbsd.org>
List: source-changes
Date: 08/31/2007 21:56:43
Module Name: src
Committed By: dyoung
Date: Fri Aug 31 21:56:43 UTC 2007
Modified Files:
src/sys/netinet: ip_mroute.c
Log Message:
Stop sharing a sockaddr_in template among multicast routines,
because that's just going to cause problems down the road. (Suppose
we can have two CPUs in the network stack someday?) Instead, use
sockaddr_in_init() to initialize a sockaddr_in on the stack.
Use ifreq_setaddr() to initialize ifreq.ifr_addr.
To generate a diff of this commit:
cvs rdiff -r1.104 -r1.105 src/sys/netinet/ip_mroute.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.