typo. From: Arto Selonen <arto@selonen.org>, sync w/kame
This commit is contained in:
parent
896f6ff227
commit
af8ad017f7
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: ipsec.c,v 1.63 2002/07/18 11:59:10 wiz Exp $ */
|
||||
/* $NetBSD: ipsec.c,v 1.64 2002/08/01 05:17:47 itojun Exp $ */
|
||||
/* $KAME: ipsec.c,v 1.136 2002/05/19 00:36:39 itojun Exp $ */
|
||||
|
||||
/*
|
||||
@ -35,7 +35,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: ipsec.c,v 1.63 2002/07/18 11:59:10 wiz Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: ipsec.c,v 1.64 2002/08/01 05:17:47 itojun Exp $");
|
||||
|
||||
#include "opt_inet.h"
|
||||
#include "opt_ipsec.h"
|
||||
@ -1667,7 +1667,7 @@ ipsec_in_reject(sp, m)
|
||||
|
||||
case IPSEC_POLICY_ENTRUST:
|
||||
default:
|
||||
panic("ipsec_hdrsiz: Invalid policy found. %d\n", sp->policy);
|
||||
panic("ipsec_in_reject: Invalid policy found. %d\n", sp->policy);
|
||||
}
|
||||
|
||||
need_auth = 0;
|
||||
@ -1746,9 +1746,9 @@ ipsec4_in_reject_so(m, so)
|
||||
else
|
||||
sp = ipsec4_getpolicybysock(m, IPSEC_DIR_INBOUND, so, &error);
|
||||
|
||||
/* XXX should be panic ? -> No, there may be error. */
|
||||
if (sp == NULL)
|
||||
return 0; /* XXX should be panic ?
|
||||
* -> No, there may be error. */
|
||||
return 0;
|
||||
|
||||
result = ipsec_in_reject(sp, m);
|
||||
KEYDEBUG(KEYDEBUG_IPSEC_STAMP,
|
||||
|
Loading…
Reference in New Issue
Block a user