From 166beffa35e4d1ccf60564afb26f691678a33abc Mon Sep 17 00:00:00 2001 From: "Angelos D. Keromytis" Date: Thu, 25 Feb 1999 18:56:49 +0000 Subject: missing ifdef IPSEC --- sys/net/route.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'sys/net') 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; -- cgit v1.2.3