diff options
| author | Brooks Davis <brooks@FreeBSD.org> | 2002-02-20 18:23:59 +0000 |
|---|---|---|
| committer | Brooks Davis <brooks@FreeBSD.org> | 2002-02-20 18:23:59 +0000 |
| commit | d24991caa87e81945ea2b7c16354ea8f0fa8410a (patch) | |
| tree | 769a5a835588614ed9dca7806cbb5cfc8efb2224 /sys/dev | |
| parent | 2643a003d1112b5cac8ec7754ff2e9034ba5dac1 (diff) | |
Notes
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/an/if_an.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/an/if_an.c b/sys/dev/an/if_an.c index 37b4c59ad7ba..c058706e0205 100644 --- a/sys/dev/an/if_an.c +++ b/sys/dev/an/if_an.c @@ -1968,11 +1968,13 @@ an_start(ifp) if (!sc->an_associated) return; + /* We can't send in monitor mode so toss any attempts. */ if (sc->an_monitor && (ifp->if_flags & IFF_PROMISC)) { for (;;) { IF_DEQUEUE(&ifp->if_snd, m0); if (m0 == NULL) break; + m_freem(m0); } return; } |
