summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/if_url.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_url.c
parentunifdef INET (diff)
downloadwireguard-openbsd-f79ee556e9e46e9a5a856c2be90b8430b83b910c.tar.xz
wireguard-openbsd-f79ee556e9e46e9a5a856c2be90b8430b83b910c.zip
unifdef INET
Diffstat (limited to 'sys/dev/usb/if_url.c')
-rw-r--r--sys/dev/usb/if_url.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/usb/if_url.c b/sys/dev/usb/if_url.c
index 29a22da1a71..90f3154febd 100644
--- a/sys/dev/usb/if_url.c
+++ b/sys/dev/usb/if_url.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_url.c,v 1.70 2014/07/13 15:52:49 mpi Exp $ */
+/* $OpenBSD: if_url.c,v 1.71 2014/12/22 02:28:52 tedu Exp $ */
/* $NetBSD: if_url.c,v 1.6 2002/09/29 10:19:21 martin Exp $ */
/*
* Copyright (c) 2001, 2002
@@ -1024,10 +1024,8 @@ url_ioctl(struct ifnet *ifp, u_long cmd, caddr_t data)
ifp->if_flags |= IFF_UP;
if (!(ifp->if_flags & IFF_RUNNING))
url_init(ifp);
-#ifdef INET
if (ifa->ifa_addr->sa_family == AF_INET)
arp_ifinit(&sc->sc_ac, ifa);
-#endif
break;
case SIOCSIFFLAGS: