summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/if_udav.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/usb/if_udav.c
parentunifdef INET (diff)
downloadwireguard-openbsd-f79ee556e9e46e9a5a856c2be90b8430b83b910c.tar.xz
wireguard-openbsd-f79ee556e9e46e9a5a856c2be90b8430b83b910c.zip
unifdef INET
Diffstat (limited to 'sys/dev/usb/if_udav.c')
-rw-r--r--sys/dev/usb/if_udav.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/usb/if_udav.c b/sys/dev/usb/if_udav.c
index 8887f39d070..9706de0c973 100644
--- a/sys/dev/usb/if_udav.c
+++ b/sys/dev/usb/if_udav.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_udav.c,v 1.67 2014/07/13 15:52:49 mpi Exp $ */
+/* $OpenBSD: if_udav.c,v 1.68 2014/12/22 02:28:52 tedu Exp $ */
/* $NetBSD: if_udav.c,v 1.3 2004/04/23 17:25:25 itojun Exp $ */
/* $nabe: if_udav.c,v 1.3 2003/08/21 16:57:19 nabe Exp $ */
/*
@@ -1176,10 +1176,8 @@ udav_ioctl(struct ifnet *ifp, u_long cmd, caddr_t data)
if (!(ifp->if_flags & IFF_RUNNING))
udav_init(ifp);
-#ifdef INET
if (ifa->ifa_addr->sa_family == AF_INET)
arp_ifinit(&sc->sc_ac, ifa);
-#endif
break;
case SIOCSIFFLAGS: