From d684b8832a75f3b2a437bd8a26e0867cedec1665 Mon Sep 17 00:00:00 2001 From: Chad Loder Date: Fri, 8 Apr 2005 16:07:23 +0000 Subject: Remove references to LINUX_IPSEC --- sbin/isakmpd/virtual.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'sbin/isakmpd/virtual.c') diff --git a/sbin/isakmpd/virtual.c b/sbin/isakmpd/virtual.c index d6c29b769bc..8e011fc2711 100644 --- a/sbin/isakmpd/virtual.c +++ b/sbin/isakmpd/virtual.c @@ -1,4 +1,4 @@ -/* $OpenBSD: virtual.c,v 1.17 2005/04/07 18:43:17 hshoexer Exp $ */ +/* $OpenBSD: virtual.c,v 1.18 2005/04/08 16:07:22 cloder Exp $ */ /* * Copyright (c) 2004 Håkan Olsson. All rights reserved. @@ -27,9 +27,7 @@ #include #include #include -#ifndef linux #include -#endif #include #include #include @@ -306,17 +304,13 @@ virtual_bind_ADDR_ANY(sa_family_t af) switch (af) { case AF_INET: d4->sin_family = af; -#if !defined (LINUX_IPSEC) d4->sin_len = sizeof(struct sockaddr_in); -#endif d4->sin_addr.s_addr = INADDR_ANY; break; case AF_INET6: d6->sin6_family = af; -#if !defined (LINUX_IPSEC) d6->sin6_len = sizeof(struct sockaddr_in6); -#endif memcpy(&d6->sin6_addr.s6_addr, &in6addr_any, sizeof in6addr_any); break; -- cgit v1.2.3