summaryrefslogtreecommitdiff
path: root/sys/net
diff options
context:
space:
mode:
authorAngelos D. Keromytis <angelos@cvs.openbsd.org>1999-02-25 18:56:49 +0000
committerAngelos D. Keromytis <angelos@cvs.openbsd.org>1999-02-25 18:56:49 +0000
commit166beffa35e4d1ccf60564afb26f691678a33abc (patch)
tree6f4a05fc5ab9e0019ed0d441cd4137ab53ad31f6 /sys/net
parent9cb83db9db265a796602624ff52b46c74a8e1b62 (diff)
missing ifdef IPSEC
Diffstat (limited to 'sys/net')
-rw-r--r--sys/net/route.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/sys/net/route.c b/sys/net/route.c
index a086f50d503..0074b841e12 100644
--- a/sys/net/route.c
+++ b/sys/net/route.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: route.c,v 1.12 1999/02/24 22:35:23 angelos Exp $ */
+/* $OpenBSD: route.c,v 1.13 1999/02/25 18:56:48 angelos Exp $ */
/* $NetBSD: route.c,v 1.14 1996/02/13 22:00:46 christos Exp $ */
/*
@@ -82,12 +82,16 @@ struct sockaddr wildcard; /* zero valued cookie for wildcard searches */
static int okaytoclone __P((u_int, int));
+#ifdef IPSEC
+
static struct ifaddr *
encap_findgwifa(struct sockaddr *gw)
{
- return enc_softc.if_addrlist.tqh_first;
+ return enc_softc.if_addrlist.tqh_first;
}
+#endif
+
void
rtable_init(table)
void **table;