Subject: CVS commit: syssrc
To: None <source-changes@netbsd.org>
From: Jun-ichiro itojun Hagino <itojun@netbsd.org>
List: source-changes
Date: 09/22/2000 08:49:47
Module Name:	syssrc
Committed By:	itojun
Date:		Fri Sep 22 05:49:47 UTC 2000

Modified Files:
	syssrc/sys/netinet6: ipsec.c

Log Message:
cleanup ipsec policy lookup.  specifically, repair the following cases:
- use of IPv4 mapped address on outbound socket
- explicit port numbers via sendto().
	old code grabbed port number from inpcb/in6pcb.
in the above case, old code failed to lookup ipsec policy (oops).
sync with kame.


To generate a diff of this commit:
cvs rdiff -r1.24 -r1.25 syssrc/sys/netinet6/ipsec.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.