diff options
author | Chad Loder <cloder@cvs.openbsd.org> | 2005-04-08 16:07:23 +0000 |
---|---|---|
committer | Chad Loder <cloder@cvs.openbsd.org> | 2005-04-08 16:07:23 +0000 |
commit | d684b8832a75f3b2a437bd8a26e0867cedec1665 (patch) | |
tree | 36f98423883b8e289ebeef72c5bb30e9b94f0200 /sbin/isakmpd/virtual.c | |
parent | 2ee307bc61874da9da57c2e522b072b503efd457 (diff) |
Remove references to LINUX_IPSEC
Diffstat (limited to 'sbin/isakmpd/virtual.c')
-rw-r--r-- | sbin/isakmpd/virtual.c | 8 |
1 files changed, 1 insertions, 7 deletions
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 <sys/types.h> #include <sys/ioctl.h> #include <sys/socket.h> -#ifndef linux #include <sys/sockio.h> -#endif #include <net/if.h> #include <netinet/in.h> #include <arpa/inet.h> @@ -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; |