Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/netipsec Fix non-INET6 builds
details: https://anonhg.NetBSD.org/src/rev/cda08a74661b
branches: trunk
changeset: 319429:cda08a74661b
user: ozaki-r <ozaki-r%NetBSD.org@localhost>
date: Tue May 29 09:25:44 2018 +0000
description:
Fix non-INET6 builds
diffstat:
sys/netipsec/xform_ah.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (32 lines):
diff -r 4457e72244c6 -r cda08a74661b sys/netipsec/xform_ah.c
--- a/sys/netipsec/xform_ah.c Tue May 29 09:25:01 2018 +0000
+++ b/sys/netipsec/xform_ah.c Tue May 29 09:25:44 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: xform_ah.c,v 1.101 2018/05/18 19:02:49 maxv Exp $ */
+/* $NetBSD: xform_ah.c,v 1.102 2018/05/29 09:25:44 ozaki-r Exp $ */
/* $FreeBSD: xform_ah.c,v 1.1.4.1 2003/01/24 05:11:36 sam Exp $ */
/* $OpenBSD: ip_ah.c,v 1.63 2001/06/26 06:18:58 angelos Exp $ */
/*
@@ -39,7 +39,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: xform_ah.c,v 1.101 2018/05/18 19:02:49 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: xform_ah.c,v 1.102 2018/05/29 09:25:44 ozaki-r Exp $");
#if defined(_KERNEL_OPT)
#include "opt_inet.h"
@@ -266,11 +266,12 @@
{
struct mbuf *m = *m0;
unsigned char *ptr;
- int off, count, optlen;
+ int off, optlen;
#ifdef INET
struct ip *ip;
#endif
#ifdef INET6
+ int count;
struct ip6_ext *ip6e;
struct ip6_hdr ip6;
int alloc, nxt;
Home |
Main Index |
Thread Index |
Old Index