Fix a stupid typo. In ipsec6_process_packet, reinject the packet in AF_INET6,

nor in AF_INET.
This commit is contained in:
degroote 2008-04-28 17:40:11 +00:00
parent 836973f68b
commit bb588cd930
1 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: ipsec_output.c,v 1.27 2008/04/23 06:09:05 thorpej Exp $ */
/* $NetBSD: ipsec_output.c,v 1.28 2008/04/28 17:40:11 degroote Exp $ */
/*-
* Copyright (c) 2002, 2003 Sam Leffler, Errno Consulting
@ -29,7 +29,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: ipsec_output.c,v 1.27 2008/04/23 06:09:05 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: ipsec_output.c,v 1.28 2008/04/28 17:40:11 degroote Exp $");
/*
* IPsec output processing.
@ -640,7 +640,7 @@ ipsec6_process_packet(
goto bad;
splx(s);
return ipsec_reinject_ipstack(m, AF_INET);
return ipsec_reinject_ipstack(m, AF_INET6);
}
}