diff options
author | Stefan Sperling <stsp@cvs.openbsd.org> | 2011-02-21 19:48:42 +0000 |
---|---|---|
committer | Stefan Sperling <stsp@cvs.openbsd.org> | 2011-02-21 19:48:42 +0000 |
commit | 087ba2806ea4eb99ed066970c9cff84e5be09f30 (patch) | |
tree | 55fdd03d39ea63d5ed07c3b2146d0cc0499d2bbd | |
parent | 504c9a2705dae578e7b05cd557731a5b610e9099 (diff) |
Make mos(4) set IFF_BROADCAST in if_flags.
ok jsg kevlo claudio; committing with miod's permission (src is soft-locked)
-rw-r--r-- | sys/dev/usb/if_mos.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/if_mos.c b/sys/dev/usb/if_mos.c index 1f3ad7ce20e..a8c6447f096 100644 --- a/sys/dev/usb/if_mos.c +++ b/sys/dev/usb/if_mos.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_mos.c,v 1.13 2011/01/25 20:03:35 jakemsr Exp $ */ +/* $OpenBSD: if_mos.c,v 1.14 2011/02/21 19:48:41 stsp Exp $ */ /* * Copyright (c) 2008 Johann Christian Rode <jcrode@gmx.net> @@ -719,7 +719,7 @@ mos_attach(struct device *parent, struct device *self, void *aux) /* Initialize interface info.*/ ifp = GET_IFP(sc); ifp->if_softc = sc; - ifp->if_flags = IFF_SIMPLEX | IFF_MULTICAST; + ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST; ifp->if_ioctl = mos_ioctl; ifp->if_start = mos_start; ifp->if_watchdog = mos_watchdog; |