summaryrefslogtreecommitdiff
path: root/sys/dev/usb/if_urndis.c
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2014-12-22 02:28:53 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2014-12-22 02:28:53 +0000
commitc7aed26ec28e1a2a8728d1471296eb8e7cd14ba7 (patch)
tree8f98dae088f7f5ae2df3690677f1c271ac8c7a51 /sys/dev/usb/if_urndis.c
parentf5060714df0f00e45a9c7091f8f8706f7225b547 (diff)
unifdef INET
Diffstat (limited to 'sys/dev/usb/if_urndis.c')
-rw-r--r--sys/dev/usb/if_urndis.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/usb/if_urndis.c b/sys/dev/usb/if_urndis.c
index e4a115480c4..3c3a890edc9 100644
--- a/sys/dev/usb/if_urndis.c
+++ b/sys/dev/usb/if_urndis.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_urndis.c,v 1.50 2014/11/30 21:45:04 kettenis Exp $ */
+/* $OpenBSD: if_urndis.c,v 1.51 2014/12/22 02:28:52 tedu Exp $ */
/*
* Copyright (c) 2010 Jonathan Armani <armani@openbsd.org>
@@ -990,10 +990,8 @@ urndis_ioctl(struct ifnet *ifp, u_long command, caddr_t data)
ifp->if_flags |= IFF_UP;
if (!(ifp->if_flags & IFF_RUNNING))
urndis_init(sc);
-#ifdef INET
if (ifa->ifa_addr->sa_family == AF_INET)
arp_ifinit(&sc->sc_arpcom, ifa);
-#endif
break;
case SIOCSIFFLAGS: