Subject: CVS commit: src/sys/netkey
To: None <>
From: Emmanuel Dreyfus <>
List: source-changes
Date: 10/03/2005 13:14:38
Module Name:	src
Committed By:	manu
Date:		Mon Oct  3 13:14:38 UTC 2005

Modified Files:
	src/sys/netkey: key.c

Log Message:
Make sure that the port numbers are set to 0 in SAD and SPD when NAT-T
is not enabled. While we are here, add some safety tests on PFKEY

This fixes the problem described in bin/30437

To generate a diff of this commit:
cvs rdiff -r1.135 -r1.136 src/sys/netkey/key.c

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