summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormpi <mpi@openbsd.org>2017-10-29 21:54:22 +0000
committermpi <mpi@openbsd.org>2017-10-29 21:54:22 +0000
commiteedbf7f2775a933943b0ec0129b747a22c6775f7 (patch)
tree63b5f25a363fd6f0cf86fdf7fca3391c6a174895
parentPrint a human-readable media name in the %%DocumentMedia DSC comment (diff)
downloadwireguard-openbsd-eedbf7f2775a933943b0ec0129b747a22c6775f7.tar.xz
wireguard-openbsd-eedbf7f2775a933943b0ec0129b747a22c6775f7.zip
IFF_NOARP has no effect if the interface don't use ether_input() nor
ether_output().
-rw-r--r--sys/dev/usb/if_upl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/if_upl.c b/sys/dev/usb/if_upl.c
index 1389222126e..32408e71293 100644
--- a/sys/dev/usb/if_upl.c
+++ b/sys/dev/usb/if_upl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_upl.c,v 1.73 2017/01/22 10:17:39 dlg Exp $ */
+/* $OpenBSD: if_upl.c,v 1.74 2017/10/29 21:54:22 mpi Exp $ */
/* $NetBSD: if_upl.c,v 1.19 2002/07/11 21:14:26 augustss Exp $ */
/*
* Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -255,7 +255,7 @@ upl_attach(struct device *parent, struct device *self, void *aux)
ifp->if_softc = sc;
ifp->if_mtu = UPL_BUFSZ;
ifp->if_hardmtu = UPL_BUFSZ;
- ifp->if_flags = IFF_POINTOPOINT | IFF_NOARP | IFF_SIMPLEX;
+ ifp->if_flags = IFF_POINTOPOINT | IFF_SIMPLEX;
ifp->if_ioctl = upl_ioctl;
ifp->if_start = upl_start;
ifp->if_watchdog = upl_watchdog;