summaryrefslogtreecommitdiffstats
path: root/sys/dev/isa/if_ex.c
diff options
context:
space:
mode:
authortedu <tedu@openbsd.org>2014-12-22 02:28:51 +0000
committertedu <tedu@openbsd.org>2014-12-22 02:28:51 +0000
commitf79ee556e9e46e9a5a856c2be90b8430b83b910c (patch)
treef2b6ef1d0da7f6fe39086ee700534107c2b455d2 /sys/dev/isa/if_ex.c
parentunifdef INET (diff)
downloadwireguard-openbsd-f79ee556e9e46e9a5a856c2be90b8430b83b910c.tar.xz
wireguard-openbsd-f79ee556e9e46e9a5a856c2be90b8430b83b910c.zip
unifdef INET
Diffstat (limited to 'sys/dev/isa/if_ex.c')
-rw-r--r--sys/dev/isa/if_ex.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/dev/isa/if_ex.c b/sys/dev/isa/if_ex.c
index 49eb0775984..0c8f883616e 100644
--- a/sys/dev/isa/if_ex.c
+++ b/sys/dev/isa/if_ex.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_ex.c,v 1.36 2010/07/02 02:29:45 tedu Exp $ */
+/* $OpenBSD: if_ex.c,v 1.37 2014/12/22 02:28:51 tedu Exp $ */
/*
* Copyright (c) 1997, Donald A. Schmidt
* Copyright (c) 1996, Javier Martín Rueda (jmrueda@diatel.upm.es)
@@ -48,10 +48,8 @@
#include <net/if.h>
#include <net/if_media.h>
-#ifdef INET
#include <netinet/in.h>
#include <netinet/if_ether.h>
-#endif
#if NBPFILTER > 0
#include <net/bpf.h>
@@ -751,10 +749,8 @@ ex_ioctl(struct ifnet *ifp, u_long cmd, caddr_t data)
ifp->if_flags |= IFF_UP;
if (!(ifp->if_flags & IFF_RUNNING))
ex_init(sc);
-#ifdef INET
if (ifa->ifa_addr->sa_family == AF_INET)
arp_ifinit(&sc->arpcom, ifa);
-#endif
break;
case SIOCSIFFLAGS:
DODEBUG(Start_End, printf("SIOCSIFFLAGS"););