diff options
-rw-r--r-- | sys/net/if_lagg.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/net/if_lagg.c b/sys/net/if_lagg.c index c9c7ee6..6d90594 100644 --- a/sys/net/if_lagg.c +++ b/sys/net/if_lagg.c @@ -1155,6 +1155,11 @@ lagg_input(struct ifnet *ifp, struct mbuf *m) if (m != NULL) { scifp->if_ipackets++; scifp->if_ibytes += m->m_pkthdr.len; + + if (scifp->if_flags & IFF_MONITOR) { + m_freem(m); + m = NULL; + } } LAGG_RUNLOCK(sc); |