summaryrefslogtreecommitdiff
path: root/sys/dev/usb/if_cdce.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_cdce.c
parentf5060714df0f00e45a9c7091f8f8706f7225b547 (diff)
unifdef INET
Diffstat (limited to 'sys/dev/usb/if_cdce.c')
-rw-r--r--sys/dev/usb/if_cdce.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/usb/if_cdce.c b/sys/dev/usb/if_cdce.c
index abd0de9fa28..f52726a6ba9 100644
--- a/sys/dev/usb/if_cdce.c
+++ b/sys/dev/usb/if_cdce.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_cdce.c,v 1.61 2014/07/13 15:52:49 mpi Exp $ */
+/* $OpenBSD: if_cdce.c,v 1.62 2014/12/22 02:28:52 tedu Exp $ */
/*
* Copyright (c) 1997, 1998, 1999, 2000-2003 Bill Paul <wpaul@windriver.com>
@@ -523,10 +523,8 @@ cdce_ioctl(struct ifnet *ifp, u_long command, caddr_t data)
ifp->if_flags |= IFF_UP;
if (!(ifp->if_flags & IFF_RUNNING))
cdce_init(sc);
-#ifdef INET
if (ifa->ifa_addr->sa_family == AF_INET)
arp_ifinit(&sc->cdce_arpcom, ifa);
-#endif
break;
case SIOCSIFFLAGS: