From c27ef0b3687303496ee7bb89b7f914dc3bfbbc92 Mon Sep 17 00:00:00 2001 From: Simon Schubert Date: Wed, 25 Oct 2006 07:02:27 +0000 Subject: [PATCH] Unbreak compilation without IPSEC: move variables into conditional --- sys/netinet6/ip6_output.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/netinet6/ip6_output.c b/sys/netinet6/ip6_output.c index daf50040de..f656b66fbd 100644 --- a/sys/netinet6/ip6_output.c +++ b/sys/netinet6/ip6_output.c @@ -1,5 +1,5 @@ /* $FreeBSD: src/sys/netinet6/ip6_output.c,v 1.13.2.18 2003/01/24 05:11:35 sam Exp $ */ -/* $DragonFly: src/sys/netinet6/ip6_output.c,v 1.29 2006/10/24 16:33:11 hsu Exp $ */ +/* $DragonFly: src/sys/netinet6/ip6_output.c,v 1.30 2006/10/25 07:02:27 corecode Exp $ */ /* $KAME: ip6_output.c,v 1.279 2002/01/26 06:12:30 jinmei Exp $ */ /* @@ -166,11 +166,11 @@ ip6_output(struct mbuf *m0, struct ip6_pktopts *opt, struct route_in6 *ro, struct in6_addr finaldst; struct route_in6 *ro_pmtu = NULL; boolean_t hdrsplit = FALSE; + boolean_t needipsec = FALSE; +#ifdef IPSEC struct ip6_rthdr *rh = NULL; int segleft_org = 0; struct ipsec_output_state state; - boolean_t needipsec = FALSE; -#ifdef IPSEC boolean_t needipsectun = FALSE; struct secpolicy *sp = NULL; struct socket *so = inp ? inp->inp_socket : NULL; -- 2.41.0